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.

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 …
Alexey R.'s user avatar
  • 11.6k
3 votes

What should be the approach to test styles using Selenium

Selenium does not let you pick the current style of an element unless it is specified in style attribute of that element. However you can use JavaScript to pick any evaluated style of the element and …
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
0 votes

Advantages and disadvantages of non-Selenium web automation tools

I'm afraid you have to deal with Selenium since it is a sort of industry standard and what is more valuable - it is free. Try to use different drivers since the most of the bugs go from a driver impl …
Alexey R.'s user avatar
  • 11.6k
1 vote

How to select and click the first enabled button?

This should work for you. List<WebElement> enabledButtons = driver.findElements(By.xpath("//button[not(@disabled)]")); if(!enabledButtons.isEmpty()){ enabledButtons.get(0).click(); } Explanatio …
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
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
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," …
Alexey R.'s user avatar
  • 11.6k
1 vote

Not able to select the checkbox of a html row

As far as I can see, you take all rows of the table (including header row). According to your html-code there should be a check-box in the header row, however I cannot see one on the screenshot you pr …
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
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
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
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
0 votes

Selenium test if an arrow to go through the pages is still clickable

Well, basically it depends on how your arrow is getting diabled (as far as I understand you're talking about some non-standard UI control). In the most cases when an element is getting disabled it is …
Alexey R.'s user avatar
  • 11.6k

15 30 50 per page