Most voted "selenium" questions
Selenium is an integrated development environment for automated test scripts.
Learn more…332 questions
Sort by count of
-
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
votes0
answers942
viewsSelenium does not find the element
I’m starting to study the Selenium Webdriver and I’m doing some tests. I created a dummy account on an e-commerce site to automate a product purchase. I can access the page, log in and go to the…
-
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
votes0
answers147
viewsHow to use Thread in my project with Tkinter and Selenium
I’m making a bot to get the free books that Amazon made available, so I created a graphical interface, but after discovering that Tkinter does not work the way I wanted, it also stops working when…
-
1
votes1
answer61
viewsC# Selenium Chrome automation, How to access an Htmlcollection using Selenium in visual studio
Well personal, I’m trying to access an index of an HTML Collection by Selenium in visual studio, only that I’m not able to access, I’m using the classname to access a certain field, and seek its…
-
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
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
votes1
answer125
viewsHow to make Selenium click a dynamically generated button?
I need the bot to make a confirmation by clicking this button, which appears in a popup: <button class="btn btn-info" id="c2e9772d-375d-47a1-9088-da9824d2e856">Sim</button> But the…
-
1
votes1
answer987
viewsGrab each row of a CSV file
I need to take data from a CSV file and store it in an array. Example: CAIO ; 0909;abacaxi BRUNO;1231;maça I have to take for example row 1, and each value of each column store in a variable to play…
-
1
votes1
answer33
viewsClick on a button inside the power bi with python
My dear, I need my robot to click the button inside the power bi to upgrade, for it to upgrade alone, just missing this part so it gets 100% import os import pyautogui import time…
-
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
votes2
answers109
viewsClick using Webscraping with Selenium
I am starting my studies with Webscraping and I have the problem at the time of giving a second click on a new page. I am trying to access my email using Selenium, I can fill my email and click to…
-
1
votes2
answers16
viewsHow to enable firefox extensions in Selenium?
I installed an extension in firefox but when Selenium opens firefox it starts without the extension, is there any way that Selenium can start firefox with the extension that is installed or make it…
-
1
votes0
answers106
views -
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
votes0
answers92
viewsC# web scraping that has Silverlight
I’m making a web scraping, I was able to automate until a certain part, but when it arrives at a certain moment, the Site opens the Silverlight,. I would like package tips or as I can do to get to…
-
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
votes1
answer418
viewsLoop in Selenium (python)
Hello, I need to display a chart in a browser (Chrome) but this chart requests authentication after a while. I learned about the Selenium tool yesterday and decided to use it to perform an…
-
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
votes1
answer422
viewsHow do Extent Reports generate an HTML report when the test fails outside the @Test tag?
I created a report template for my test project that is up to now meeting my demand, however, if the test fails outside the@Test tag the report is not generated (being some connection error, or…
-
1
votes1
answer241
viewsSendkeys does not work on the machine that will run
I am doing an automation that is necessary to give a Sendkeys but when I run it on the other machine that will run the automation it does not do the function. DirectoryInfo diretorio = new…
-
1
votes1
answer44
viewsHtmlunitdriver does not find field id - Selenium
I am using Selenium to automate the browser user action. I am using the HtmlUnitDriver, not to open the browser and not have to point a .exe. The page I am doing, will show the components according…
-
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
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
answer256
viewsClick the Follow Instagram button with Selenium C#
I would like to know how to press the follow button of Instagram with Selenium, I have tried several ways and none I can press. Always says or that the element is not clickable or cannot find the…
-
1
votes2
answers93
views -
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
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
answer34
viewsAutomating in Selenium with C# an Angular 6 page that has no fixed element
Good afternoon, I am trying to create some automated tests on a page that does not have fixed Ids, the only safe way is being Xpath but the same will change as soon as a new button enters. Currently…
-
1
votes3
answers326
viewsFind a button using Xpath Selenium
I am trying to find a button using the webdriver + Python Selenium, the button code is: <button class="w-full h-14 pt-2 pb-1 px-3 bg-accent text-dark-1 rounded-full md:rounded select-none…
-
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…
-
1
votes0
answers20
viewsSearch dictionary element by Gherkin
I need to perform an automation, in which I need my code to read the information presented in Table by the Gherkin to select the option I presented inside a dictionary, which is in a file intended…
-
0
votes1
answer4124
viewsExport screen data to excel
I automated a customer registration test (performed on the Web, internet explorer) and at the end it generates a protocol and another numeric code. I need to save these two data at the end of the…
-
0
votes0
answers80
viewsAnt with Junitparams
Guys, I’m using ANT along with Jenkins to do the right continuous integration? I initially use ANT to run automated tests and then build the application. My problem boils down to running automated…
-
0
votes1
answer358
views -
0
votes1
answer111
viewsWrite content between <br> in Selenium IDE
I have the following code: <div class="OSInline" style="width: 100%"> <span data-webbtests="CompraWeb.Request_Edit.AddressWB.expCompanyAdress"> Praça Henrique Lavoie Júnior, 701…
seleniumasked 9 years, 2 months ago Felipe Barbosa 21 -
0
votes1
answer530
viewsCreate Xpath manually
I’m testing a site that runs only and exclusively in Internet Explorer, so I can’t use Firebug, someone knows how to create an Xpath of an element manually or knows some tool for IE that identifies…
-
0
votes1
answer1007
viewsJava / Selenium - Store text in variable
Guys, all right? I have the following problem: I need to generate a fake Cpf, copy the generated Cpf, and store it in a variable. But I can’t extract the generated Cpf from the sites I found. Both…
-
0
votes1
answer1500
viewsUnused import statement - Pycharm
When trying to import using Pycharm: from selenium.webdriver.common.alert import Alert it leaves the text in gray, and shows unused import statemnet. tried to use the: # noinspection…
-
0
votes1
answer424
viewsEclipse and Selenium - Transforming . JAVA into . EXE or . BAT
I’m using Eclipse and the Selenium framework to create automated web page opening routines and execute commands (link clicks, field fill, site change, etc). I’ve managed to create some test routines…
-
0
votes1
answer1033
viewsWebdriverexception when not finding elements with Findelements
When I try to check if an element exists or not on my website and if the element does not exist, my Iwebdriver launches a Webdriverexception, and all of my driver’s methods stop working, making it…
-
0
votes0
answers1212
viewsJava - Selenium - Use contains with element list
I have on a website the products that were added in the cart. I want to check that the product "Test T-Shirt" has been successfully added. For this, I have a string where this value (Test T-Shirt)…
-
0
votes0
answers190
viewsSelenium, automation for web system
Good morning friends, I am facing a difficulty, where my goal is to automate a process of opening petitions on an intranet, the system does not have captcha but the way it was developed I can not…
-
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
votes0
answers1229
viewsJava, Cucumber, Maven - Feature runs without any class
I did a test automation project using Eclipse + Java + Maven + Cucumber + Selenium I have the following problem: Since I’m not using git yet, I exported this project to a file. zip, and in my work…