Questions tagged [browser-automation]

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

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

Switch browser is not switching the browser visually

I opened 5 browsers in my script as five different users and I have to switch between users and perform things. When I use switch browser, the script is running in background but I am unable to see it ...
user avatar
  • 1
0 votes
1 answer
50 views

Automating test for VoIP webapp?

Our Web App is a call center app. One of the key functions of our Web App is to make VoIP call and then do post call processings. But we can't find a tool/way to do automate testing, which involves ...
user avatar
0 votes
0 answers
20 views

How to select date from PickerWheel on browser UI similar to iOS style using Selenium Java

I am trying to select start and end dates from PickerWheel on the browser. But click and select methods are not working. Because to select date we need to move like in iOS devices date picker wheel. I ...
user avatar
  • 1
0 votes
0 answers
26 views

Not able to see web element when I navigate to page using Automation

I have a web page which displays a new contact creation button. When I try to navigate to a page through automation, I can not see that button. When I login to site manually and navigate to same page, ...
user avatar
0 votes
0 answers
549 views

Cypress - Identify when page is fully loaded

I am new to Cypress, but wanted to capture the time from visiting a page, up until the page is fully rendered and available to use. I understand I can use the Window: load event to identify when the ...
user avatar
  • 1
0 votes
1 answer
374 views

Testing Stripe payment integration using Cypress

We've recently implemented Stripe for customers to checkout. However, using Cypress to automate our regression tests was incredibly painful as the fields are inside an iframe (and, for some reason, ...
user avatar
  • 2,442
0 votes
0 answers
38 views

How to send text to shadow element using javascript in selenium Java

Element is inside shadowroot. Both ways not working Can anyone help here. Shadow element stored in element named variable and need to enter text in the description field. driver.executeScript("...
user avatar
0 votes
1 answer
636 views

Selenium + Python: how can we close all opened tabs except the first tab/main tab?

This is my code, ''' import time from selenium.webdriver.common.by import By from selenium.webdriver import ActionChains from selenium.webdriver.support import expected_conditions as EC ...
user avatar
0 votes
0 answers
301 views

unknown error: session deleted because of page crash from tab crashed- [java+Selenium not docker]

I'm running selenium script frequently by connecting gitlab repo to AWS hosted jenkins. previously it runs without any issue. today i got below issue and failed the script. org.openqa.selenium....
user avatar
  • 107
1 vote
0 answers
31 views

How to debug web-socket connection while running tests in Moon?

The problem is that: Autotests fail when I run tests in Moon Chrome. But the same tests pass when I run them locally in Chrome. I guess this problem is somehow connected with websocket connection ...
user avatar
1 vote
0 answers
69 views

Cookie Banner is not shown [403 error]

Need help with the following scenario, In a website, OneTrust cookies are implemented. The cookies are from an external company. The cookie solution is implemented by including a couple of references ...
user avatar
  • 15
1 vote
2 answers
272 views

Selenium: How to bypass Cloudfare authentication with Selenium using Java

I am testing an app and as soon as I load the URL it redirects me to Cloudfare access page and asks me to signIn using Google. When I click on Google SignIn it asks for my email address and password. ...
user avatar
2 votes
1 answer
4k views

Caused by: java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver

I've added all JARS configured chromedriver. Why this error is coming "Error: Unable to initialize main class Practice.test1 Caused by: java.lang.NoClassDefFoundError: org/openqa/selenium/...
user avatar
  • 21
1 vote
2 answers
59 views

Automation Testing for chrome extensions

I am struggling to find a tool that can test the chrome extension. For example: Install this extension https://chrome.google.com/webstore/detail/colorpick-eyedropper/ohcpnigalekghcmgcdcenkpelffpdolg ...
user avatar
  • 687
-1 votes
1 answer
94 views

cannot click on link Python Selenium

I am trying to add a confirmation link on selenium but selenium is not able to click on that link its on yopmail with name janemartin90452 It doesn't click on the confirmation link Name "Activate ...
user avatar
  • 1
0 votes
1 answer
242 views

Not able to Launch Edge with Remote Driver can some one pls help

DesiredCapabilities capabillities = DesiredCapabilities.edge(); capabillities.setBrowserName(BrowserType.EDGE); capabillities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, ...
user avatar
0 votes
2 answers
596 views

Selenium driver for web app testing on chrome in incognito windows

So I am trying to use a selenium web driver extension on chrome to record a web application test on a chrome browser that is in an incognito mode. How do you run a test on a web application in an ...
user avatar
  • 1
-1 votes
1 answer
37 views

Can we execute our test manually on one device and replay the same tests on multiple devices?

I want to test a shopping website, a portal where users can view/filter products (clothes, shoes, etc) the actual buying happens somewhere else, it's kind of an aggregator. [The website is UI heavy - ...
user avatar
1 vote
1 answer
258 views

Waiting for two events in Selenide

I have code, written on Selenium which waits for the first or for the second event. But all testing framework uses Selenide. The question is how to rewrite such code on Selenide, to avoid unxpectable ...
user avatar
  • 11
0 votes
1 answer
1k views

C# + chrome-driver : How to fix - cannot find Chrome binary/Chrome failed to start: crashed/Failed to create a Chrome process?

I am trying to run selenium using chrome-driver in my project. While creating object of chrome-driver facing errors : Message "unknown error: cannot find Chrome binary\n (Driver info: ...
user avatar
1 vote
1 answer
3k views

How to find the button name and click it using VBA and Selenium?

I'm trying to go to a LinkedIn website. I'm using Selenium and for some reason it does not recognize my saved user name and password so every time I open up a LinkedIn session, it is prompting me for ...
user avatar
  • 11
1 vote
0 answers
52 views

NullPointerException-webdriver null

I put a screenshot with getDriverInstance. After run. When I run the test, I get this error. At debug it tells me, that the WebDriver is null. Can anyone help me with a solution how to fix the ...
user avatar
-3 votes
1 answer
133 views

How can i repeat this script many times [closed]

driver.find_element_by_class_name("submit").click() time.sleep(2.5) driver.find_element_by_xpath("//input[@value='Continue >>']").click() time.sleep(2.5) driver....
user avatar
0 votes
1 answer
146 views

How to assign defined keyword as value of variable in Robot Framework? How to run a Variable as Keyword?

I'm currently using Robot Framework for creating UI automation for our project. And I would like to know how to assign defined keyword as a variable value and how to run variable as keyword?
user avatar
1 vote
1 answer
114 views

how to integrate testrail with selenium

Hi everyone as I am just started to work in testrail and I want to integrate my testrail with selenium using Eclipse What I want to do? I want to run my test case in selenium and if its pass then my ...
user avatar
0 votes
1 answer
682 views

How to go through all pages at a certain domain with Selenium WebDriver?

I need to verify a certain thing on multiple pages on a certain site. The thing is it is quite tedious to manually add links to each page for testing to a script. Is there a way the Selenium WebDriver ...
user avatar
  • 562
1 vote
2 answers
48 views

How to verify the presence of a script on multiple web pages?

I have a set of web pages where I need to verify that a certain script is present. A have a lot of pages to verify so I would like to automate this part of testing. How can a create a sequence with ...
user avatar
  • 562
2 votes
2 answers
123 views

How to automate look-and-feel testing in a complex web application?

My company's web application has dozens of distinct pages that a user might hit. There are site-wide stylesheets, so changing one of them could affect every single page. There are four or five ...
user avatar
0 votes
1 answer
135 views

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button.Can some one pls guide.NeedHelp

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button. Scenario: I have a screen where I need to find the row which has the value as &...
user avatar
  • 23
1 vote
1 answer
102 views

Not able to click Search button and also select the option from the drop down Getting .ElementNotVisibleException

Not able to click Search button and also select the option from the drop down Getting: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted ...
user avatar
  • 23
-1 votes
1 answer
962 views

What are the advantages and disadvantages of using TestProject in automating functional testing?

I'm currently checking out the testproject for the possibility of using it as a tool in our automation testing (functional). Please help me decide if it fits our project by giving me the advantages ...
user avatar
1 vote
1 answer
101 views

How to click pop up window button in selenium with Pyhton

I want to click the "Akkoord" button but I am unable to do that. I already tried different methods but they are not working. Any help will be appreciated. one of the codes I tried. from ...
user avatar
0 votes
2 answers
179 views

How to avoid errors occur as 'Unable to locate the element'?

Here I wanted to run this method properly when boolean values are false, but when running this method it always failed the test case saying "no such element: Unable to locate element".How ...
user avatar
0 votes
1 answer
80 views

Python + Selenium: Using and managing old web drivers

Details Based on a browser matrix I have to test several browsers, also older ones. Example: https://www.lambdatest.com/blog/creating-browser-compatibility-matrix-for-testing-workflow/ You surely know ...
user avatar
  • 1,173
2 votes
1 answer
12k views

How do I enable ChromeDriver to use browser cache or local storage with selenium python

I was trying to automate a website and it's a PWA. I need the caching data for this site as it takes too long to load, once loaded it's pretty fast. But every time I run my scripts chrome starts a new ...
user avatar
0 votes
3 answers
60 views

How to Verify Previous Month Arrow should not present in Current Month in GoIbibo Site

I am unable to Verify Previous Month arrow should not be present in DatePicker but as it is not present in DOM getting Exception unable to find Such Exception. void fillDepartureDate() { // Date ...
user avatar
1 vote
1 answer
53 views

Fetching wrong Employee count corresponding to office location in Selenium

I am fetching Employee count according to locating using Map Highlighted No of employees count is mismatch in Image like If i search in Web table Tokyo there count is 5 but here getting 6 for ...
user avatar
2 votes
1 answer
81 views

Is it valuable to do end to end testing in a virtual environment?

We have to test an iframe that is developed by our team but launches from a partner website. But currently, there is no way to launch the iframe. So, the team asked us to automate the iframe in ...
user avatar
  • 1,712
1 vote
1 answer
235 views

testCafe: How to configure the tests in the same spec file, to execute sequentially?

We are using testCafe for automation. when it comes to executing tests in parallel, test cafe even executes test blocks within the spec file, parallelly. Our tests are independent, but there are some ...
user avatar
  • 1,712
-2 votes
3 answers
50 views

XPATH clarification [closed]

Refer: Picture of elements of HTML screenshot I am trying to get XPATH //*[@id="pg:pbEdit:conlist"] or //select[@id="pg:pbEdit:conlist"] Works but I want to be precise not ...
user avatar
0 votes
2 answers
715 views

Fixing an asynchronous JavaScript timeout out issue with Selenium in C#

Background I am running the following JavaScript code using the C# bindings for Selenium: async function addTableCellClassInjector(row, tableIndex, rowIndex) { for (let columnIndex = 0; column = ...
user avatar
0 votes
1 answer
2k views

Selenium thinks button is clickable even when disabled

I'm having an issue where Selenium is saying a button is clickable even when it's disabled. I'm using Selenium with a website where you have to select a date first and then time slot from a dropdown ...
user avatar
  • 103
0 votes
1 answer
34 views

How do I write a better xpath of this element? [duplicate]

I am working on a project and building automation test suite for a webpage. A certain part of the webpage looks like this. The corresponding HTML is as follows: <p class="customer-service&...
user avatar
6 votes
3 answers
747 views

Are test-specific selectors a good idea?

In the past I had thoughts for more elegant HTML item selection. I found there may be a better approach, in contrast to "traditional" one. Old school way: .site-body .menu-box > li.item a.link ...
user avatar
  • 177
1 vote
1 answer
4k views

Find Text without span Text - Python - Selenium

I want to get text that is stored on an element. Text is not a property instead when I expand Element (in chrome's inspection [DevTools]) it has two sub-properties, span and text. it looks something ...
user avatar
1 vote
1 answer
4k views

Find childs of element without sub-childs - Python - Selenium

I'm trying to create a bot. The functionality I need now is to find a way to get only childs of an element without sub-childs. Take this as example: <Body> <child1>Hi</child1> ...
user avatar
9 votes
5 answers
2k views

Is Cypress set to replace Selenium as the preferred tool for automating web applications? [closed]

I see many articles pointing out the effectiveness of Cypress as against Selenium for automating web applications. From most of the articles I've read, I see some points for Cypress such as: Cypress ...
user avatar
  • 437
-1 votes
1 answer
141 views

Test script failing due to "INTERNAL_SERVER_ERROR" , when I try to automate application. It run fine when test the same flow manually

I am using Java. I am trying to automate a scenario, where am trying to search all details of an ID, it works fine when I test the scenario manually. It fails when I automate the scenario. Note: I ...
user avatar
  • 21
0 votes
1 answer
2k views

My Cypress Reports Folder does not get properly deleted when I execute the rmdir command in the package.json file. Which command should I use?

I am running Cypress on a Windows machine. I am using this command (included in the package.json file) to remove the cypress/reports folder before the start of each test run: "clean:reports": "IF ...
user avatar
  • 437
2 votes
2 answers
578 views

Unable to click on "Add Payment Method" button on Google Pay site

I am trying to click on "Add payment method" button under Payment Methods tab using selenium - https://pay.google.com/gp/w/home/paymentmethods Tried using xpath, className and cssSelector but looks ...
user avatar
  • 21

1
2 3 4 5
9