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
1
answer
175
views
Selenium. Chrome v74. Freezing after cookies deletion
After updating Chrome to 74.0.3729.131, problems are appeared.
Using webdrivermanager 3.4.0 for managing chromedriver.
public class UiTestBase {
public static WebDriver driver = null;
public …
0
votes
0
answers
732
views
Explicit Wait doesn't work, but Fluent Wait works Ok
I need to have following test:
open page (js loader is presented)
select box
delete box
When I do test without waiters:
driver.get("http://example.com");
mediaPage.selectBox("My");
medi …
0
votes
Change text in the span
I found the issue, if input is not focused, there is a following html code:
<div class="editValue"><div class="valueDisplay"><span>Untitled</span></div></div>
If input is focused here is a html cod …
0
votes
3
answers
7k
views
Change text in the span
I have the following element on a page:
<div class="valueDisplay"><span>Untitled</span></div>
I need to clear "Untitled" and enter my value - "MyValue".
I have the following WebElement:
@FindBy(h …
0
votes
1
answer
175
views
Find element and click on it in a complex structure
I have following structure on my web-site.
//New Box
<div>
<div>
</div>
<div>
<div>
<div>
</div>
<div>
<div>
…
1
vote
0
answers
299
views
Using FindBy in abstract class
I have couple of pages that have similar structure, similar elements.
But selectors are different from the first tag.
Example:
Selector for the element on one page:
@FindBy(xpath = "//picture-item/ …
1
vote
1
answer
3k
views
Add XPath parameter dynamically in Selenium
Is it possible in Selenium to add an XPath parameter dynamically?
I have following code:
@FindBy(how = How.XPATH, using = "//div[@class='boxes']")
public List<WebElement> boxes;
String randomString …
1
vote
1
answer
2k
views
calling TIS/TSM in non-main thread environment
macOS 10.14.3
Chrome 72.0.3626.96
Chromedriver 2.46
While trying to execute following code I receive an error:
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa. …
1
vote
3
answers
7k
views
Wait until element is not clickable
I have online text editor page. There are two buttons: "Save" and "Close".
"Save" - is clickable, when changes are not saved:
<button class="btn save-btn" title="Save content">Save</button>
"Save" …
1
vote
2
answers
84
views
How to close java application after uploading file
I have a test to upload one file and then upload another file.
When first file is uploaded, java application is opened:
Steps to upload file:
- click on upload button
- using robot and keyPress, ke …
0
votes
1
answer
883
views
Use Login method before test
I use POM pattern in Selenium tests.
To run tests OpCreate and OpEdit, a user should be logged in.
I have positive test for Login, but how to run Login every time OpCreate and OpEdit tests are run? Pr …