Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 37791

Used for questions about using Selenium WebDriver, a browser automation framework frequently used to automate testing in a browser.

3 votes

when am executing the below code am getting <terminated> WriteExcelFile[java application] error

I went through the code and tried running it, and got the same message in the console. But it isn't an error actually. More specifically it is giving message as: C:\Program Files\Java\jre1.8.0_191\b …
JAINAM's user avatar
  • 1,845
4 votes

How to launch chrome from a Custom Port using selenium?

Yes, you can assign a particular port explicitly to your web-driver execution. If you know the port you want to connect to, then you can directly connect to it using selenium with below code. System …
JAINAM's user avatar
  • 1,845
7 votes

What method should i use to display the country selected from dropdown on console in Seleniu...

You can get the selected value from dropdown using getFirstSelectedOption() and getText() methods. System.out.println("Selected country: " + drpcountry.getFirstSelectedOption().getText()); For refe …
JAINAM's user avatar
  • 1,845
6 votes

What is the difference between BeforeClass and BeforeTest in TestNG - Selenium WebDriver

@BeforeTest method runs before the test method, belonging to the classes inside the tag. It is called once for each test tag. It is used to initialize common objects between different test classes in …
JAINAM's user avatar
  • 1,845
4 votes

Unable to navigate to the URL in Microsoft Edge

It works well with me. From the error, It seems the issue is with version compatibility. Verify that version of MicrosoftEdgeBrowser is matching with the version of MicrosoftWebDriver. For eg. If m …
JAINAM's user avatar
  • 1,845
12 votes
Accepted

How to connect Selenium to an existing browser that was opened manually in java or create se...

You can use Chrome DevTools Protocol. Try with below steps: Add path of Chrome executable to environment variable PATH. Launch Chrome with custom flag, and open a port for remote debugging chrome.e …
JAINAM's user avatar
  • 1,845