Tagged: java

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

[Resolved] Remove Java completely from Mac / Linux

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from the root of your system cd /Library/ rm -rf Java/ Verify Java in uninstalled java...

0

[Resolved] unsupported major.minor version 52.0

This is a generic issue. I solved it using the following steps. Uninstall Java completely sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from...

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

0

Install Java on Ubuntu

The easiest way to install Oracle Java 8 is to run the following commands from the terminal. $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer Verify the installed Java...