Hello Rashid,
I'm not very familiar with Selenium, but you may find the following information useful:
Inter-Application Communication
https://decibel.ni.com/content/docs/DOC-9131
Let us know if this helps!
Andy C.
Applications Engineer
National Instruments