Tagged: selenium

0

ERROR: Cannot define class using reflection

One of the scenario this error occurs when you have incorrect JAVA SDK. Please install https://www.java.com/en/download/ Make sure its added to your system path by doing echo $PATH.  Verify installation by doing java -version...

0

ERROR: connect ECONNREFUSED 0.0.0.0:4444

ECONNREFUSED stands for connection refused by the server.  One of the scenario this error occurs when you try to use the standalone selenium server and java is not installed in your machine.  Please install...

0

Connection refused! Is selenium server started?

When you update your Google Chrome version and suddenly when you start running automation you hit the above mentioned error. Solution Get the latest chromedriver (https://sites.google.com/a/chromium.org/chromedriver/) Make sure your automation framework uses the latest...

0

Selenium and xpath – locate an element using class attribute

Issue : Locate the following element using its Class. <div class=”globalContainer”> <div> … </div> </div> Resolution : You can write the following query in the browser console. $x(//div[@class=”globalContainer”]) Further Reading xPath locator Practical Examples

0

Selenium and xpath – locate an element using id attribute

Issue : Locate the following element using its ID. <div id=”globalContainer”> <div> … </div> </div> Resolution : You can write the following query in the browser console. $x(//div[@id=”globalContainer”]) Further Reading xPath locator Practical Examples

1

Setup remote selenium driver

Do you want your Jenkins plan to run your functional automation tests to run against remote selenium host? Do you need help in setting up remote selenium host? Then this tutorial will teach you...