Suresh C
Suresh C

Reputation: 45

How to launch the browser on client side using selenium webdriver

I am new to selenium. I am developed one application using a selenium web driver for doing some actions on the webpage. It's perfectly working when I am running locally i.e., it launches a browser in my machine. I deployed this application on a VM server so the script runs on the server(launched browser in VM Ware Machine), not on the client-side. Can anyone help me with how can I launch the browser on the client-side?

Upvotes: 4

Views: 4673

Answers (2)

Karthikeya
Karthikeya

Reputation: 324

If you trigger from one machine, you can launch a browser on another machine using the selenium-grid concept But both machines are under the same LAN.

Here you want to execute on the client machine. It is not possible, because your machine and client machine won't be under the same network

Upvotes: 2

shubham bansal
shubham bansal

Reputation: 886

You have to create Hub and Nodes using selenium grid

You can refer this link to see step by step

http://www.seleniumeasy.com/selenium-tutorials/how-to-configure-selenium-grid

Your server will be hub and your client machine will be node

Upvotes: 3

Related Questions