Most voted "selenium-webdriver" questions
Selenium is one of the most known and used tools today to carry out automation tests acceptance in web applications through the use of the browser.
Learn more…229 questions
Sort by count of
-
1
votes0
answers1035
viewsExecute existing function by Selenium-webdriver`executaeScript`method
I am trying to run a function in the browser that is already set, but it is marked as undefined. I ran the following code to reproduce the problem: const webdriver = require("selenium-webdriver")…
-
1
votes1
answer487
viewsUpdate Frame Selenium VBA
Expensive, How can I update a frame with Selenium in VBA? Updating frame is an option that exists when right-clicking on some frame. I can’t update the whole window, only the frame.…
-
1
votes1
answer3314
viewsclassnotfoundexception error
Good afternoon, which means the mistake to follow? Class not found stancedriver.StanceDriver java.lang.ClassNotFoundException: stancedriver.StanceDriver at java.net.URLClassLoader.findClass(Unknown…
-
1
votes0
answers209
viewsCapture data with Selenium, add and insert into another field
I have a code where it captures data from a field, using the Selenium Webdriver and insert into another field. I would add (captured field + 1000) and then insert into another field. Where I’ll…
-
1
votes1
answer243
viewsRuby test Capybara encoding UTF-8 does not work
I created a new test project, using Ruby and Capybara for studies and I don’t understand why it’s not working. I have a very similar project on another PC, same configuration, the difference that…
-
1
votes1
answer382
viewsPython: select checkbox in an orderly way
I have a list containing hundreds of data in the format [ '5008489', 'Órgão: MPF', 'PROCEDIMENTO DO JUIZADO ESPECIAL', 'CPF', <selenium.webdriver.remote.webelement.WebElement…
python checkbox selenium selenium-webdriver web-scrapingasked 7 years, 2 months ago Bergo de Almeida 181 -
1
votes1
answer317
viewsParallel tests using Selenium/Testng and Database
I have 1165 test cases and it’s taking 36 hours to run + run it all in 3 different browsers and I’m going crazy with this delay. My question is whether it is possible to run parallel tests using…
-
1
votes0
answers54
viewsIdentify combobox items and play in for loop using Selenium JS and Python
I need to do a for loop to open an x number of tabs and each tab uses a different "Dashboard". The first part I’ve done how could I do the second? Remembering preferably with Xpath using JS and…
-
1
votes0
answers36
viewsIs it possible to read Chrome Devtools data using Selenium?
I would like to know if there is any function of Selenium that allows reading data/logs from the panels of the Chrome devtools. Specifically: Read full-page HTML structure, or any specific element.…
-
1
votes0
answers1200
viewsHow to finish process 'Chrome.exe' when finishing script execution
I implemented a script using Selenium that accesses some pages. The code is working exactly as expected. My problem is when script finishes its execution which happens in two ways: When the user…
-
1
votes1
answer1460
viewsScroll (Scroll Screen) with Selenium in Python: Error
I have a list of items on the screen, in which I need to click one by one to parse data. It turns out that at some point, Selenium can’t click anymore, because when it tries, the following error…
-
1
votes1
answer240
viewsSelenium does not find element
Follow the code. Selenium does not find the element: package test; import java.util.concurrent.TimeUnit; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import…
-
1
votes0
answers64
viewsNullpointer Exception when using the @Before and @After notations in Selenium
When using the ratings @Before and @After, is giving nullpointer error. Does anyone know what it is? Follows the code: import org.junit.After; import org.junit.Assert; import org.junit.Before;…
-
1
votes1
answer1633
viewsHow to click a link from a frame using Selenium Webdriver?
I’m studying a book Automate Massive Tasks with Python. I’m on page 317 that talks about Selenium Webdriver on the methods of finding elements on the pages. Table 11.3 - Selenium’s Webdriver methods…
-
1
votes1
answer1160
viewsHow do I capture text from a web page with Selenium?
I need to create a standard People Generator using the site https://www.4devs.com.br/gerador_de_pessoas with Selenium. That’s the code I have for now: [TestFixture] public class GeradorDePessoas {…
-
1
votes1
answer154
viewsError execution log4j Selenium
I am new to automated testing and am creating a test script in Selenium and when I run I am getting this error response: log4j:WARN No appenders could be found for logger…
-
1
votes1
answer48
viewsHow to download more than one Chromedriver file without asking for download authorization
I’m trying to download more than one file by Chrome and keeps popping up the permission message would have some way to automatically accept…
-
1
votes2
answers563
viewsSelenium (list of elements of a class)
Greetings ! I want to open all the elements (not repeated) of a class, each in a new tab, how do I do it ? My attempt: lista_elementos = driver.find_elements_by_class_name('card-action') for i in…
-
1
votes1
answer85
viewsCan I use a variable to set a path in Filestream?
I have a test script in Selenium Webdriver using C# in which I read data from a file .txt external. The path to the file is fixed in the script, indicating a folder on my computer. But in the future…
-
1
votes0
answers687
viewsSave Textfiel text to a variable and insert into a field using Selenium driver
I need to take data from a Textfiel (letters and number) and then insert it into a field using Selenium. //Classe1 para pegar texto String guardarPlaca; @FXML public void inserirDados(ActionEvent…
-
1
votes1
answer108
viewsRead user input via Javascriptexecutor or promt in Selenium Webdriver C#
I have 4 test environments. When executing the Selenium script, I want the user to inform soon after the browser opens, in which environment the script should be executed. So the script will direct…
-
1
votes0
answers458
viewsProblem with Python Selenium
I made a program to download 64 invoices, it goes well up to the ninth, but when Lenium arrives in it stops clicking without error all Elif take a different id and perform the same action with it,…
-
1
votes1
answer262
viewsInput on TD/TR - Selenium
I’m setting up a system to automate a routine here in the company, but has a specific site that uses the field form inside TD's/TR's, so I was using:…
-
1
votes0
answers57
viewsDelay in scroll impende to click on a component using Selenium in Chrome
I have some components on my screen in a Section that has a scroll. When I try to click on a component where it is necessary to use the scroll to find the component. But apparently the scroll has a…
-
1
votes1
answer29
viewsHow to set a variable in the first call to a function, and keep this value in the second call on
I have a function that arrow a variable after going through an extensive list, which takes a certain amount of time. The program calls this function other times because it is responsible for filling…
-
1
votes0
answers26
viewsNullpointer when requesting execution - Extentreport
Good afternoon Personal, I’m having a hard time using the extent api. The way I developed my project is preventing you from taking the prints. I created a Drivefactory class that instantiates the…
-
1
votes0
answers178
viewsSelenium with Chrome Headless fails to get URL
In my test script I simulate the click on a button, which generates and opens a PDF in a new Chrome tab. //Imprime consulta IWebElement btnGeraPDF = driver.FindElement(By.Id("id"));…
-
1
votes1
answer505
viewsHow to create a . JAR for test automation?
Hello, I am creating automated scripts using Selenium Webdriver and I am running within the Intellij IDE. I would like to know how it is possible to create a . JAR file from my scripts, so it would…
-
1
votes1
answer1336
viewsLoad Chrome profile in Selenium
I’m trying to upload my Chrome profile but can’t, which is missing? from selenium import webdriver from selenium.webdriver.chrome.options import Options class Teste: def __init__(self): self.driver…
-
1
votes0
answers273
viewsSave cookies to Selenium
I’m developing an automation in Selenium C# to log in to Facebook and do some operations, but every login asks me to account verification. There is a way you can save authentications as a common…
-
1
votes2
answers1450
viewsHow to extract information from table(html) and move to a Dataframe - Using Selenium
I am using Selenium to access the site http://www2.bmf.com.br/pages/portal/bmfbovespa/lumis/lum-ajustes-do-pregao-ptBR.asp and manipulate the date box and ok button. So far I managed to do the task…
-
1
votes1
answer365
viewsAutomate web scraping in Python
I’m trying to get the speeches of the deputies, which can be found here. The site has several pages (1 to 300 +/-) and on each page has a table with a "summary" of the information, with 50 lines.…
-
1
votes1
answer586
viewsHow to press the Instagram follow button? with python
I’m trying to create a robot to follow people on Instagram, but I saved on the most important part, to click to follow the person. I’m using the python language and the Selenium, gnt I’ve put from…
-
1
votes0
answers192
viewshow to click a chor in Selenium Webdriver (python)
I tried to click an chor to return a value inside my input; I tried using the Xpath and the link_text to click on it. How could I do that ? Python code: window_segundo = driver.window_handles[1]…
-
1
votes1
answer418
viewsHow do I make Python click a button in google?
I’m making a bot that enters google Meet at scheduled times, got the part of opening the meetings at the desired times, but I bumped into the problem that the program needs to click the "enter"…
-
1
votes0
answers79
viewsHow can I use an xpath path already mapped and saved in csv to confirm access on site?
good afternoon! I am somewhat new in the area of programming and I am trying to develop a script, so that it enters a certain site, within a file . csv, choose an educational institution, confirm…
-
1
votes0
answers47
viewsChromedriver rebooting in all tests
Following a tutorial, my stepDefinitions page looks like this: @RunWith(DataDrivenTestRunner.class) @DataLoader(filePaths = "credenciaisv2.csv") public class CadastrarOLTTest { private WebDriver…
-
1
votes1
answer388
viewsOpen a url right after opening a new tab in the browser (Selenium)
I’m making a code to access a template page of my institution. Objective: In the first guide, I open the digital book; In the second guide, I open the template. However, I have to do the feedback in…
-
1
votes1
answer113
viewsClick a button that is not yet on the screen
I recently decided to do an automation using Python with the Selenium module. Everything was going well until I had to simulate a click on a button that is not on the screen at the moment and the…
-
1
votes1
answer90
viewsPython How to click Divs using Selenium
I’m trying to take jobs in google jobs and extract data to guadar in database or json. Websites: GOOGLE JOBS SCREEN Notice how I have on the left a list with several jobs and when I click on some it…
-
1
votes1
answer44
viewsSelenium Wait function does not capture loading element that appears quickly on the screen
I have the following Widget in HTML <div class="atl-container"> <div class="ui_active_loader"> ::before ::after </div> </div> Shown in the following image In the official…
-
1
votes2
answers231
viewsSelenium - Unable to login ( unsecured browser )
Hello, good evening, I am trying to develop a python web bot, using the library Selenium and webdrive_manager, but when I try to log in to my google account using the browser that the bot is…
python python-3.x selenium selenium-webdriver automationasked 3 years, 6 months ago Antonio Pacheco 27 -
1
votes1
answer50
viewsCompile error using Selenium: Binary is not a Firefox Executable
I made the following script: #/usr/bin/env python3 -u import time import sys from datetime import datetime from selenium import webdriver from selenium.webdriver.common.keys import Keys from…
-
0
votes1
answer113
viewsProblem with Javascriptexecutor Selenium Webdriver
I can’t perform the function doFilterOffer() on the page, it gives the following error Missing ; before statement , what’s the problem with this syntax below? if (driver instanceof…
-
0
votes1
answer127
viewsProblem with Selenium Webdriver
I’m trying to learn Selenium Webdriver on my own, but I’m having difficulties. Some commands are not working in Eclipse. For example, for the command "Import org.openqa.selenium.webdriver" message…
selenium-webdriverasked 8 years, 2 months ago Tarso da Rosa 1 -
0
votes1
answer50
viewsOpen an . exe file inside a . jar file
Good! I’m new to Java and I’m developing a program where I need to include it in a driver executable. By running the file . jar, how can I make you run the . exe file? I have to extract it and then…
-
0
votes3
answers8705
viewsHow to pick up the text from a span?
For example, in this line of code I need "x+10=10". Someone knows how to do? <span class="task" onclick="loadExercise(201)" id="task201">x+10=10</span>
-
0
votes2
answers86
viewsStalled Selenium test
I have a problem that Selenium stops when a Download appears on my screen (My application that is being tested also for). It stands forever and not from time-out. I wonder if you have how to put a…
-
0
votes0
answers322
viewsWindows authentication with Selenium
I am trying to perform a windows autentation with Selenium, however is presented the error below.. There is another way to perform this type of authentication?…
-
0
votes1
answer182
viewsString is not a Valid Xpath Expression - Selenium Webdriver
Hello, I am using the following expression in xpath, but invalid xpath syntax error occurs. When I inspect the element in Mozilla’s firepath, it recognizes, but when running the test it fails.…