With browser automation a web browser can be instructed to repeat the same, possibly long task automatically or at will. In daily use browser automation can be used to fill forms, extract data from web pages, or provide authentication to a service. Browser automation is often used for automating testing of web applications. The same tests can be repeated after each change and in different browsers to verify correct behavior.
Questions tagged [browser-automation]
1104 questions
13
votes
2 answers
How to use synchronize in Capybara exactly?
If how to use wait_until is pretty clear (I've used the methods like this while creating tests through the native Webdriver methods), but not the new synchronize method (sorry:)). I've read the theme about why wait_until is deprecated, I've read…

Dmitriy Konovalov
- 227
- 2
- 8
11
votes
1 answer
How do I automate Chrome using WatiN?
I've done countless Google searches on this.
Despite all the promises, I simply can't find one straight-forward peice of documentation on how to automate Chrome with WatiN.
Can anyone help?

Jonathan
- 32,202
- 38
- 137
- 208
11
votes
1 answer
How to automate an IE webapp that pops a modal HTML dialog?
[Revised yet again for clarity]
I have a C++ program which interacts with a website. The site is IE-specific, and so is my program.
I'm connecting to the running instance of IE in an ordinary way (out of process -- see code). Once I get the…

egrunin
- 24,650
- 8
- 50
- 93
10
votes
2 answers
In Puppeteer how to switch to chrome window from default profile to desired profile
My requirement is to test chrome extensions on a new profile.
I referred https://peter.sh/experiments/chromium-command-line-switches/ for Chromium args[--user-data-dir, --profile-directory]
After the browser is launched, 2 chrome windows are opened.…

Govinda
- 582
- 1
- 5
- 14
10
votes
4 answers
Can I automate Chrome request blocking using Selenium-webdriver for Ruby?
I am a QA automation analyst responsible for testing a multi-platform online banking application. For our automation testing we use RubyMine suite with Gherkin/Cucumber, Ruby-scripted steps and Selenium-webdriver, Watir and page-object…

centuryfall
- 400
- 2
- 5
- 13
10
votes
2 answers
Alternatives to using delays when automatically testing an AJAX web UI
I will soon be working on AJAX driven web pages that have a lot of content generated from a Web Service (WCF).
I've tested this sort of thing in the past (and found it easy) but not with this level of dynamic content.
I'm developing in .NET 3.5…

Mike Gale
- 311
- 2
- 8
8
votes
3 answers
Possible to open/display/render a headless Selenium session?
I know this is sort of counter to the purpose of headless automation, but...
I've got an automation test running using Selenium and Chromedriver in headless mode. I'd prefer to keep it running headless, but occasionally, it runs into an error that…
user7729352
8
votes
2 answers
How to upload a file/photo using katalon studio?
I'm trying to upload file using katalon studio for automation testing (web Testing. After clicking on 'Browse' button the windows popup is opened but i can't choose photo or go to specific path. I found a command WebUI.UploadFile() but I think I'm…

M.Mortada
- 91
- 1
- 4
8
votes
8 answers
Element click not functioning properly using selenium in IE 10
I am trying to automate a website using selenium in IE 10.
The site opens fine however when I want to click on a element(button) it finds the element and clicks on it as well however the elements state(button name changing) which needs to be…

Wanderer
- 366
- 2
- 6
- 18
8
votes
1 answer
Manipulating browser (window) size using Splinter
I am trying to use the Firefox driver for Splinter to test some responsive design.
Naturally, this requires me to resize the browser window. I can't find anything at all about browser resizing in the documentation.
How can I do this?
from splinter…

HansBos
- 83
- 1
- 4
8
votes
3 answers
Check if "Please enter an email address" message appears
Given a simple page:
If I enter anything in text field that is not e-mail and click the button, Please enter an email address message appears.
Is there a way to to check if the message…

Željko Filipin
- 56,372
- 28
- 94
- 125
8
votes
5 answers
How to write my own customize locator for Selenium webdriver in java?
I want to write my own locator to access the elements. WebDriver’s API offers currently eight locators allowing to retrieve elements by id, name attribute, tag name, complete or partial link text, XPath, class name, and css selector. However those…

BlueSky
- 101
- 1
- 1
- 4
7
votes
4 answers
Automating Edge Browser using VBA without downloading Selenium
I had the Automation tools which are written considering the IE. Now, I want to re-write those same tools this time by considering the "Microsoft Edge" as the default browser. I could not find the alternative approach other than downloading the…

Kanthi87
- 83
- 1
- 1
- 6
7
votes
1 answer
How to automatically toggle the Dark Reader Chrome plugin?
Question
How can we automatically toggle Dark Mode at predetermined times?
Background
Every day, around 5 PM, I switch on the dark mode of the Dark Reader Chrome extension.
I toggle it off again the next morning to get more bright light in the…

melvio
- 762
- 6
- 24
7
votes
2 answers
Testing if a new window opens with Watir-Webdriver
I'm using Watir-webdriver and I was wondering if there was a good way to check if a new window opens. I've googled around a bit and couldn't find anything though it feels like there should be an easy answer.
I have a printer friendly link and I want…

Mike
- 149
- 2
- 12