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 answers only not deleted user 27679

Questions regarding automation of web applications for testing purposes according to specific of used web browser.

1 vote

Waiting for two events in Selenide

You can keep existing approach. SelenideElement extends WebElement so that all existing conditional stuff will be working. Selenide does not have own cross-element conditions. Only the ones which are …
Alexey R.'s user avatar
  • 11.6k
2 votes

How can I handle the chrome HTTP Authentication popup window in selenium without AutoIT?

Despite you have chosen Niels answer as correct, I would also suggest a way to work around your issue. What you're talking about is likely a "basic authentication". The best way to bypass this step is …
Alexey R.'s user avatar
  • 11.6k
6 votes

Are test-specific selectors a good idea?

I would say it is always a good idea from the standpoint of automated tests development efficiency. Unused attributes (you call them tags but they are rather the attributes) cannot be really considere …
jonrsharpe's user avatar
1 vote

Unable to find Dynamic Xpath

I am not sure this contains(@class="login_button") is a proper xpath syntax (however since you're not mentioning parse errors looks like it is) at least for your task. Try: //*[contains(@tabindex," …
Bence Kaulics's user avatar
3 votes

Tree of HTML from JSoup?

Try to use this (children()) instead of getAllElements(). Because when you use the latter one, you get the node itself alongside with its children. Hence you will always be cycling between two methods …
Alexey R.'s user avatar
  • 11.6k
0 votes
Accepted

Trying to get XPath of a dropdown item on webpage in NewRelic monitor

Looks like you're trying to click element to get your list expanded but you should actually hover it. Instead of .then(function (el) { el.click(); $browser.sleep(4000); }) (line 120) try this: .the …
Alexey R.'s user avatar
  • 11.6k
3 votes

Requesting name and/or id for better Selenium testability

It is a normal practice. You should only remember that in modern UI a lot of elements are dynamically generated so the capabilities of your devs might be limited in that area. It might also depend on …
Alexey R.'s user avatar
  • 11.6k
1 vote
Accepted

Tidy HTML with BaseX

Looks like you are missing TagSoup in your classpath. As it is stated here you should have one to be able to successfully import html format. Since html is often not a well-formed XML, it should be pr …
Alexey R.'s user avatar
  • 11.6k
2 votes
Accepted

POM: driver is passed as an argument? Always?

I appreciate that author's contribution to the people's global knowledge sharing but I have doubt on how well he mastered his Java skills at least because of he doesn't adhere coding style convention …
Alexey R.'s user avatar
  • 11.6k
2 votes
Accepted

NullPointerException when using @FindBy

To understand the magic happening you should first understand a Proxy pattern. There is a post on SO where you can get some insight on what the Proxy patter is. So, when you call PageFactory.init(... …
Alexey R.'s user avatar
  • 11.6k
1 vote
Accepted

xpath query for specific String value

You should use .getAttribute("href"); so that your code would look like: WebElement webElement = webDriver.findElement(By.xpath("//a[contains(text(), 'Books')]" ); LOG.info(webElement.getAttribute("h …
Alexey R.'s user avatar
  • 11.6k
1 vote

RPA tool for automation

I have never used TagUI and actually I have never heard about it before you asked your question :) However I googled a bit and considered this topic interesting. Let me share my view on that (however …
Alexey R.'s user avatar
  • 11.6k
1 vote

How to perform click on an element using selenium for which I am getting staleState Exception

When element gets stale it means that its position inside DOM was changed after you saved it within an object in your code. So to avoid such the cases you can try to get rid of the actions in the midd …
Alexey R.'s user avatar
  • 11.6k
4 votes

Multithreading: chromedriver does not open url in second window

Driver d1 = new Driver(profile); d1.start(); Driver d2 = new Driver(profile1); d1.start(); Here you create Driver d2 but start d1.start() the second time then (you have started it two lines of code …
Alexey R.'s user avatar
  • 11.6k
2 votes

How to go to a certain Xpath by Searching a Text in Selenium WebDriver

//*[text()='TASK42'][@id='tasksForm']/input[3] won't be working for your case. The syntax like this [some][condi][tion] is like AND logical conjunction. So in your query you're saying I want …
Alexey R.'s user avatar
  • 11.6k

15 30 50 per page