Questions tagged [browser-automation]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

How to Test Scroll Behavior When Scrollbar Doesn't Exist with Playwright?

I'm currently working on automated tests with the page object using Playwright, and I have a function scrollDownAndUpOnboarding that's designed to scroll down and then up on a web page. However, I've ...
Andres Mitre's user avatar
0 votes
0 answers
16 views

Element is not Attached to the DOM in Playwright Python

When I run this code, it opens chrome, goes to the link, loads data and then clicks on load more. When all the data is loaded, and the load more button disappears, it gives me the error that Element ...
Muddassar's user avatar
0 votes
0 answers
4 views

Issues Navigating Top Three Google Results with Selenium

Hi StackOverflow community, I'm having an issue with a Selenium script I wrote to automate Google searches and navigate through the first three web pages of the search results. Below, I present a ...
Mauricio Daniel Téllez Nava's user avatar
-1 votes
0 answers
14 views

Selenium::WebDriver::Support::AbstractEventListener how to use the before_find method?

I was following the guide from https://swdandruby.wordpress.com/tag/abstracteventlistener/ on how to highlight elements in selenium using before_click and before_change_value_of, but I wanted to know ...
Grace's user avatar
  • 1
-2 votes
0 answers
33 views

How to social login in the website using selenium java?

Error showing when trying to login Whenever I try to login into the application with selenium java using social login , I am getting this error "browser is not secure" what should I do? I ...
Advik's user avatar
  • 7
0 votes
0 answers
11 views

How to shift focus from webpage to modal dialog using python selenium using generic way

I'm working on codeless automation POC. There are few buttons on website which are easily identifiable by the python selenium. I just clicked on "Signup" button then a new layer is coming on ...
jainmiah Shaik's user avatar
0 votes
0 answers
7 views

Selenium is unable to locate input fields on payment form

I have a Selenium bot that automates the process of submitting a SoundCloud URL to a playlist curator platform. However, I am encountering an issue where the web driver can locate the 'confirm payment'...
Will_Python_Programmer's user avatar
0 votes
0 answers
15 views

AttributeError: 'WebDriver' object has no attribute 'find_element_by_link_tex [duplicate]

When I execute the code, I get an error that says AttributeError: 'WebDriver' object has no attribute 'find_element_by_link_text' from selenium import webdriver web = webdriver.Chrome() web.get("...
CR00N0S's user avatar
0 votes
1 answer
23 views

Robot Framework - Conditional loops missing arguments somewhere?

I've got a Robot Framework test case that I'm running where elements are fed into the case through a CSV file. Some of those elements open into a new browser tab, some of them do not. I've got some ...
Justin Hooks's user avatar
0 votes
1 answer
309 views

How to use Google Chrome Browser for Testing in Robot Framework?

Recently Google Chrome introduced the Chrome browser for testing, specifically for automation. How to trigger the Chrome browser for testing in the robot framework? For more info: https://...
Sailesh Ramesh's user avatar
0 votes
2 answers
299 views

Could not start a new session. Response code 500. Message: session not created

My seleinum webdriver is not launching browser, getting error frequently. Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports ...
litesh gupta's user avatar
0 votes
0 answers
27 views

Run browser automation in the cloud without headless

I would like to run some browser automation not in headless mode. Basically I would like to have a real laptop with a real browser on and run some code on a schedule. What kind of services are out ...
alexlipa's user avatar
  • 1,131
0 votes
1 answer
47 views

Trying to Run this code using POM but got error. selenium version= 4.8.3

Trying to Run this code using POM but got error. selenium version= 4.8.3 Test Case File: \`import time from selenium import webdriver from Functions import definedFunctions from locators import ...
Hashir Khan's user avatar
0 votes
1 answer
33 views

SeleniumLibrary Dialogs User Dialog Box Will Not Go Away

In this script I ask the user for the username, password & router serial for Robot Framework to navigate the website & enter the info to login & search for that router serial. The script ...
5uck3rpunch's user avatar
0 votes
1 answer
102 views

Use a wild card in Dropdown value selection within Power Automate Desktop

I'm looking to use the Browser Automation section of Power Automate Desktop. Specifically, I would like to do 2 things. Select Multiple Options Use wild cards The website I'm trying to pull from us ...
MartyMcfly0033's user avatar
0 votes
0 answers
46 views

Browser automation (Puppeteer) don't working properly (net core 6)

I use PuppeteerSharp and PuppeteerExtraSharp library, it seems this pattern was worked properly in my past project, but currently i can not start it. This is my page factory, I expect 25 Chrome tabs. ...
Viacheslav Dev's user avatar
0 votes
1 answer
32 views

How do I click a checkbox if its not already, in BROWSER library of ROBOT FRAMEWORK?

I want to click a input checkbox if its not already checked but if its checked leave it and dont do anything. I looked into documentation but didn't find answers. Tried to ask ChatGPT but it gave ...
Naam's user avatar
  • 1
0 votes
0 answers
36 views

How to run each test on different browsers parallely

I have following folder structure for selenium with c# and NUnit as testing lib. and after that I will ask question TestProject -BaseClassFolder - Baseclass - TestsFolder -...
Divyaraj Dodia's user avatar
0 votes
2 answers
143 views

How to identify and click on dynamic elements using Selenium and Java

I've tried several xpaths but non could be used to pass my test. I'm a new comer in the automation world and I'm struggling with this particular problem. I'm trying to locate the element with text ...
Robin Hossain's user avatar
0 votes
1 answer
101 views

Amazon product details page scraping selenium python

I want to scrape the details page from amazon.com. where product price change over products size. I want to itarate over each dropdown size list, but after clicking one size it shows ...
Moniruzzaman Monir's user avatar
0 votes
0 answers
21 views

Make/integromat automation to rename a folder with a discord message as trigger

Ok so I have a daily manual process that my colleagues do which I want to automate so we can save time. I am trying to do it through Make / Integromat. The process is basically the following: A ...
Luana Mantovani's user avatar
0 votes
1 answer
10 views

Build automation on changing classes

I'm using Automa browser extension to automate a tedious task and I'm trying to solve an issue. I want to automate a click on a CSS selector with this format: .ad-format-card:nth-child(1) ._ngcontent-...
JC Nassif's user avatar
1 vote
0 answers
27 views

Upload file on Remote Web Driver with driver type = chromedriver

I am not able to upload the file when running karate UI automation tests on Docker grid (CI) Hello, I am trying to upload a file to perform some of the UI Automation. I am able to upload the file in ...
Sachin R. Patel's user avatar
0 votes
2 answers
35 views

Selenium with Python - Test failing in a line of code that worked for 170 previous tests

I have a very strange behaviour happening while automating a test suite were I access a website, click on a search bar and then look for certain information. All my 200+ tests begin the same way with ...
Martin M's user avatar
2 votes
0 answers
107 views

How to hijack requests with rod (golang)?

I was testing a few hours already hijack feature in rod library. Response body hijacking works fine, but couldn't do the same for request body. Here's the code I made. What I am doing wrong? ...
Lee's user avatar
  • 45
0 votes
0 answers
59 views

Verify download event in playwright for both negative and positive scenario

I want to verify that when I click on save button, the download event get triggred and it downloads the file and returns filename. and it is working file with following code. async getDownloads() {...
lazy_coder's user avatar
0 votes
1 answer
47 views

Python Selenium - TESTNG equivalent setup to run execute tests on different browsers in Python

I am looking for a Below TestNG specific logic to run tests on different browsers in a single run with parameterisation, <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <...
Automation Engr's user avatar
0 votes
0 answers
16 views

Selenium.ElementClickInterceptedException Error after NGX Update

Hello fellow Automation QAs :) Our Project front-end was updated on few places with some new ngx-bootstrap which led to many Selenium.ElementClickInterceptedException Errors at many places. Do you ...
Vladimir Shterev's user avatar
0 votes
1 answer
151 views

How to get network data generated by Python + Selenium test

Is there a way to get network data generated by Python 3.10 + Selenium 4.1.3 test? I would like to examine network requests after the test has finished and Chrome instance is closed.
Mate Mrše's user avatar
  • 8,005
1 vote
2 answers
294 views

cannot log in to google with selenium webdrive

so i want to automate a specific scenario where i have to access gmail. but unfortunately once i enter the email address the following error appears. [] in text: Couldn’t sign you in This browser or ...
Dinuka Gunarathne's user avatar
0 votes
2 answers
65 views

button not clickable with puppeteer

I am trying to automate a login process into one of my accounts and this website has some weird password table that I have to click on to type my password , but when I select a button from the table ...
w4ss's user avatar
  • 47
0 votes
0 answers
39 views

How to access drop-down option in Chakra UI using puppeteer Library?

I can see the following HTML code for the following Button that correspond to drop-down menu <button class="flex cursor-pointer items-center rounded text-left focus:outline-none whitespace-...
Shreyansh's user avatar
0 votes
1 answer
45 views

NoSuchElementException with Selenium

I have been working on developing a bot called Bot1 to scrape data from a specific website. For this purpose, I am utilizing the Selenium framework. However, I encountered an issue where the bot fails ...
Imtiaz Ahmed's user avatar
0 votes
0 answers
88 views

How to access Performance Insights tab in the chrome developer tools using selenium?

I am trying to access and click on elements of the Performance Insigts tab in google chrome using selenium (python), this command opens the console but replacing it with performance insights doesn't ...
aman23133's user avatar
0 votes
1 answer
36 views

Unable to locate element for date picker

I am trying to locate an element The structure is <div>June 2023</div> to locate a particular month year value which is the header of the date picker I am unable to create a unique ...
Kaustav Guha's user avatar
0 votes
0 answers
162 views

Power automate desktop detect browser tab change

I want to monitor web activity using power automate desktop and do an action whenever the user changes browser tab. For the tab change detection part, I can insert some inline js to use Page ...
Praneet Dixit's user avatar
2 votes
2 answers
75 views

NoSuchElementException when trying to find element with valid xpath on Chrome and Edge

I am testing https://www.policybazaar.com using selenium, testNG, java. I get the no such element error while trying to select a date from date picker on https://www.policybazaar.com/travel-insurance/...
smaitra's user avatar
  • 21
0 votes
2 answers
236 views

How to automate Bing search queries in all existing profile on MS Edge using code given

I was trying to automate Bing search with the following code using PowerShell : for ($a = 0; $a -lt 45; $a++) { $RandomWord = Get-Random -InputObject (get-content C:\Users\ashq4\OneDrive\...
Asheeq's user avatar
  • 1
0 votes
1 answer
217 views

Trouble with Playwright with MUI and waiting for MUI Grid Data to Load

So I have three tests so far. First test is login and second test is to click the accounts tab. Both of these work fine. My third test(Account Details Contact Grid) is where I am having an issue. Upon ...
Karnveer Grewal's user avatar
0 votes
1 answer
37 views

Selenium - Locating Child Elem

enter image description hereNovice coder trying to use Python to automate some tasks. I'm not understanding how to go about locating child elements in code. I am trying to have the code click on a ...
Kevin A's user avatar
1 vote
1 answer
678 views

How to: Interact with a slider using Playwright

What I expected I am attempting to interact with a slider ui element on my angular based webpage. The code shown below is not interacting with the elements in question anymore. It was at one point.. ...
JIOSH's user avatar
  • 43
0 votes
2 answers
66 views

code isn't working #selenium expert with python

I want to use Selenium to scrape information from the audible.com/search page. The csv file, however, shows an empty list. I'm going to share the code below. Can someone identify the original cause of ...
Moniruzzaman Monir's user avatar
0 votes
2 answers
152 views

What is the best way to log into Gmail using Selenium Webdriver in Python?

I use selenium with python to login to my Gmail with chrome browser, But there was a problem while logging in look to photo . look to it this is my code : from selenium import webdriver from ...
Obada Qafisheh's user avatar
-1 votes
1 answer
42 views

How can I make Selenium click 'Open' on a PDF download page using C# and handle the iframe selection?

Unable to click open in pdf download page using C# selenium. how to make the driver understand the iframe and make the selection? PDF download page Selenium code I tried: driver.SwitchTo().Window(...
arunkumar-js25's user avatar
0 votes
1 answer
46 views

Selenium Python - How to drag the button?

I test the website "https://letcode.in/slider". It supports clicking the button (Solution 1) or dragging the button (Solution 2). I wrote the simple code to test it, but I do not know how to ...
NovLe's user avatar
  • 13
0 votes
1 answer
38 views

Selenium Webdriver giving Stale element Exception (sometimes it works, most of the time it doesn't) (Python)

i am using selenium webdriver to automate my website (v4.3) and selenium-wire(v5.1) to run my chrome(112.0.5615.49) in headless Mode. The browser here is behaving in a very weird way. For a particular ...
vishwajeet verma's user avatar
0 votes
1 answer
28 views

How to open specific profile at chrome - Automation C#

I have Chrome browser with profile manager how i can open the browser direct instance with a specific profile ? i'm learning C# Automation! 10x i try to open the browser direct instance with a ...
MeirBS's user avatar
  • 1
1 vote
1 answer
200 views

Javascript dom manipulation textarea value doesn't work

when typing into textarea with keyboard and clicking button with js working np. When changing textarea value with javascript. Does not work. And textarea has eventListener name invalid. When i see ...
Nick's user avatar
  • 73
0 votes
1 answer
53 views

Python module not downloading

External modules are not getting downloaded in Python. It is showing the below error message for any module that I try to download.
syed's user avatar
  • 1
1 vote
1 answer
254 views

Playwright execution context destroyed after call to page.evaluate()

First and foremost; thanks in advance for any and all feedback provided. I'm building a web scraper using the Playwright Python API. There's an element on a page, related to an authentication flow, ...
Daniel Barbera's user avatar

1
2 3 4 5
23