Search Results
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 |
Used for questions about using Selenium WebDriver, a browser automation framework frequently used to automate testing in a browser.
0
votes
Running Selenium via command line java.lang.class.notFoundexception
@Alexy R is correct: Run it with a forward slash instead of a . operator as windows commandline may not be open to using . as folder notation. Additionally, if you still do get a classNotFoundExceptio …
0
votes
How to store copied text to a string in selenium webdriver
So basically, there is no straight way of doing this. Not sure why this was not thought out. A possible workaround is the following:
String copiedText = driver.findElement(By.xpath("//*[@id='printsha …
0
votes
I got the following error while automate the webpage using testNG
In addition to what Alexey R. mentioned, do you also need a JavascriptExecutor?
you can easily click on links, e.g.:
driver.findElement(By.id("clicked62")).click();
But mainly, since you are alre …
1
vote
I can use click() function why but not sendKeys() in my code
From the screencapture attached by nishil81, would it not be simpler to use:
driver.findElement(By.xpath("//input[@name='username']").sendKeys("myUserName");
or even:
driver.findElement(By.name("u …
1
vote
Protractor: Iterate through table <td> and click the link by TEXT
You only seem to have one 'a' in the sample table included in your query currently:
<a class="ui-state-default" href="#">26</a>
If it helps (and if you have multiple a tags in your DOM), you can tr …
3
votes
How to Implement Page Object and Page Factory Pattern in Selenium Webdriver?
In very simple terms, the explanation for page objects is as follows:
A separate class (per page) which lists all the objects in a page and the allowed operations that can be performed by them can be …
1
vote
How to fetch the text values from the dd tag using selenium
Not sure if you got your answer already.
If you didn't, then a few possibilities would be -
koganName = driver.findElement(By.xpath(("//div[@class='row p-3']/div/div/div/dl/dt[1]/following-sibling:: …