Most voted "selenium" questions
Selenium is an integrated development environment for automated test scripts.
Learn more…332 questions
Sort by count of
-
0
votes1
answer1242
viewsChange the download name Selenium python
I am downloading a pdf through the automatic navigation through the site, for this I disabled the pdf view of Chrome and activated to download the pdf automatically, could I change the name of this…
-
0
votes0
answers118
viewsProblem collecting links from a website
Dear friends, good morning! I am writing a program in Python to collect the links of a website. The part of the code that collects the links is: links = driver.find_elements_by_xpath('//*[@href]')…
-
0
votes0
answers4
viewsHow to automate a status by contacting the Tories?
I would like to automate a test someone can give me a hint
-
0
votes1
answer45
viewsActivate Flash Player with Junit
good afternoon. I’m trying to enable Adobe Flash Player in Headless Chrome, but I’m not getting it. Follows my code: public class testes { @Test public void inicializa() { ChromeOptions options =…
-
0
votes1
answer501
views -
0
votes1
answer846
viewsTake print screen when error occurs on Selenium Webdriver
I have a mini bot made in Python that does the scraping of data from Direct Treasure, in short it logs into my account, goes in the statement takes this data and returns a json, which within my…
-
0
votes1
answer2247
viewsHow to make a robot take data from a table in an HTML website
I’m trying to create a database with stock histories extracted from a website. Below is an example of what I’m trying to do. package com.gustavo.seleniumTest; import org.openqa.selenium.By; import…
-
0
votes1
answer112
viewsData Crawling in Python
Good afternoon, you guys. I decided to start my studies with the Python Crawler technique. I built the following script using lib Selenium : # Importando selenium para realizar o crawling from…
-
0
votes1
answer646
viewsDisable infobar from Chrome when running automated testing
I tried to implement a method that will maximize the Chrome window and deactivate infobar when starting tests, but neither of the two actions will happen when running. Actions are in the method…
-
0
votes2
answers169
viewsCode improvement
Hello. I have this code: import os from selenium import webdriver import time def visita(link): try: options = webdriver.ChromeOptions() options.add_argument('--headless') driver =…
-
0
votes1
answer47
viewsI cannot use the Firstordefault method on an Iwebelement type
I am unable to use the Firstordefault method with Selenium public IWebElement RetornaRegistro(string titulo) { var trs = _driver.FindElement(By.CssSelector("table tbody tr")); var alvo =…
-
0
votes1
answer40
viewsNullpointerexception when running a Selenium Webdriver test
I have a certain difficulty in instantiating the driver in another class. What happens is the following: I have two definition classes of steps First: public class TranscricaoSadtStep { static…
-
0
votes1
answer97
viewsSelenium Staleelementreferenceexception Problems with Python
I am new here in the forum,I hope you can help me, I am creating an application with Selenium using python to collect documents on a specific site. documents are uploaded to download via javascript…
-
0
votes1
answer199
viewsError Running Test Class
Good afternoon! All right? When running the User Informationtest class, it is showing the following errors: Error:(4, 20) java: package org.Selenium does not exist Error:(5, 27) java: package…
-
0
votes0
answers92
viewsSelenium C# without suitable main method
I’m taking some automation classes with Selenium with the C# language and when I compile asks for the proper main method that I’ve tried in several ways using System; using System.Text; using…
-
0
votes1
answer182
viewsWebdriver Chrome Selenium
I have the following code: System.setProperty("webdriver.chrome.driver", "C:\\libjava\\chromedriver2.exe"); ChromeOptions options = new ChromeOptions(); options.addArguments("--headless"); WebDriver…
-
0
votes1
answer2089
viewsCheck if Widget exists with Selenium
I’m making a kind of bruteforce using Selenium, when I error the password and login, the message appears on the invalid login screen or password, if the message does not appear, ie correct login and…
-
0
votes2
answers305
viewsProblem with writing in hidden textbox with Selenium
I’m trying to write in a textbox and click on a button (these elements are initially hidden in the page) using Selenium (with Java), but I can’t find the element, I’ve tried searching for name, ID,…
-
0
votes0
answers218
viewsError while locating Xpath
Good afternoon, I’m having difficulty to solve this problem with Selenium, in which the code is running the automation perfectly and when it arrives at a certain element of the page that does not…
-
0
votes1
answer62
viewsUsing two webdrives in Selenium
I need to develop a script for automation of a website. I get a list of URLs I pass this list on a for that for each item in the list a new one is created webdriver and it asks to login to the site.…
-
0
votes0
answers38
viewsDoubt about Selenium and python
I’m making a bot for instagram, comes certain part of the page I have a list of people with the "follow" button on the side. made that code: bot = self.bot…
-
0
votes1
answer799
viewsDoubt Filling a Combo-Box with Selenium and Python
I’m trying to automate a routine but I’m not getting ahead on a part I have to select a combobox from a page with Selenium. The field I want to fill in is as follows, In all fields until I got here,…
-
0
votes1
answer944
viewsSelenium - Open Chrome with extensions already installed
Guys, I need the Chrome instance opened via Webdriver come with a plugin already installed "Always" that I open. I found some content, but it doesn’t work here. They can tell if it was because of…
java google-chrome selenium selenium-webdriver google-chrome-extensionasked 5 years, 4 months ago Patrick Longo 1 -
0
votes1
answer244
viewsHelp with Chromium webdriver Selenium python3
I recently fixed a pi4 Raspberry and installed the corresponding webdriver but it is giving an error. ERROR Traceback (most recent call last): File "Bump.py", line 4, in <module> from…
-
0
votes0
answers400
viewsWebdriver Firefoxdriver Selenium download file
I am automating the download of a file .xlsx of a website with Selenium with the FirefoxDriver but I can’t interact in the download pop-up of the site! There’s how I interact with the pop-up by…
-
0
votes1
answer1016
viewsSearch for e-mail or word within a webdriver site in python?
Hello, I am wanting to create a Bot to enter a website and search if that site has an email to contact and create an email list ... the problem is that this can all be very generic.. on some site…
-
0
votes2
answers210
viewsCreate execution looping until an element is visible
I need to make a looping in which it stops running only when a specific element becomes visible. It must click the filter button and check if the element is visible, if the return is false, it…
-
0
votes1
answer252
viewsDoubts - Capturing messages in the Selenium IDE
I am building a Test in the Selenium IDE (Chrome extension) to fill out a form and capture the message it returns in case of an error. On the site, when an error occurs, the message I’d like to…
-
0
votes2
answers155
viewsRun Selenium Event
I have the following problem when trying to click on a pagination using python and Selenium Paging is a table <td class="dr-dscr-inact rich-datascr-inact" onclick="Event.fire(this,…
seleniumasked 5 years, 2 months ago Eolosthewind 1 -
0
votes1
answer314
viewsSelenium VBA to insert text into an ID
My code tries to copy from the windows Clipboard and paste into the site ID with VBA + Selenium. Option Explicit Public Sub PasteInfo() Dim d As WebDriver, clipboard As Object, data As String Set d…
-
0
votes1
answer322
viewsClickcontext and copy
Good morning. My code is like this Sub pegadadoschrome() Dim obj As New webdriver Dim keys As selenium.keys Set keys = New selenium.keys obj.Start "chrome", "" obj.get "https://gvt.etadirect.com/"…
-
0
votes0
answers456
viewsDownload pdf with python Selenium and Chrome
I have a script that enters a site by Selenium, click on a button that generates the pdf on the site, through the code below I made this pdf be downloaded automatically, but stopped working a few…
-
0
votes2
answers823
viewsExtracting Data with Beautiful Python Soup
I made a Python script to access the TJ-SP website to do a certain search and make a Web Scraping with the search result. this is the HTML: i want to pick up the text that is contained in that tag:…
-
0
votes1
answer128
viewsSelenium Basic Python
Greetings, I am beginner in Selenium and follows below my script: from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import…
-
0
votes1
answer101
viewsConstant click using Selenium does not work
Goal: Click 4 times on the same button "See More" Problem: Click command works the first 2 times, after that, it no longer works and returns TimeoutException Code: ops = webdriver.ChromeOptions()…
-
0
votes0
answers299
viewsError: (The HTTP request to the remote Webdriver server for URL http://.. url timed out after 60 Seconds) when running test
When trying to run the tests in Internet Explorer the following error appears (The HTTP request to the remote Webdriver server for URL…
-
0
votes1
answer1090
viewsFind element using Python + Selenium
Hello, I am trying to click on an element using webdriver with pythone Selenium The element : <a class="ppm_button_menu_item" alt="Exportar para CSV" href="javascript:clarity.uitk.exportToFile(…
-
0
votes1
answer711
viewsScroll Down Python and Selenium
I’m running a boot to collect information from Facebook for a political survey. However, when I collect the comments I’m not getting the Scroll Down of the page. I’ve tried several code formats, but…
-
0
votes1
answer237
viewsLoop Selenium Phyton
Hello! I started studying Python and I’m trying to make web scraping on the OLX site. I can search and filter. But how can I make a loop for him to click on all the ads so I can pick up the phones?…
-
0
votes1
answer201
viewsHow to loop python code Selenium?
I need to make the comments (["COMENTARIO1","COMENTARIO2","COMENTARIO3"]) if you repeat N times in a random fill, the way I did, no matter how much I put 30 in the range, they are printed 3 times…
-
0
votes1
answer475
viewsInput with equal class Lenium
I am trying to fill out an online form automatically and the fields are in the same class, using Selenium and python I can fill in the first field with the campo01 =…
-
0
votes1
answer152
viewsdowload location - Selenium Firefox + Python
I can’t change the default download location in Firefox using Selenium the code is like this: from selenium import webdriver fp = webdriver.FirefoxProfile()…
-
0
votes3
answers1877
viewsProblem using python Selenium click()
Hello, I’m starting to use Selenium. I started trying to access google and some basic commands. However I can’t use click(). My show: from selenium import webdriver class Google(object): def…
-
0
votes1
answer240
viewsReturn the value from within the Selenium execute_script
Hello, I wrote this code below, and I would like to return the value of the drive.execute_script. I know the value is 3 from the console.log(i), but this value can change, and I want to go back…
-
0
votes1
answer262
viewsSelecting two options in the drop down menu with Selenium + Python does not work
from selenium import webdriver from time import sleep from urllib.request import Request,urlopen import pandas as pd from selenium.webdriver.support.ui import Select from…
-
0
votes3
answers983
viewsCheck if an element exists if the page is loaded. (Selenium)
I am testing a piece of my application, so I created the following method to check if the element exists on the page: public boolean existe(){ try{ driver.findElement(elemento); return true; }…
-
0
votes0
answers108
viewsHow to run Selenium and Tkinter at the same time without stopping to answer
Good morning to you all! I have a python code that I use from Tkinter and Selenium to get all the books that Amazon recently made available for free, but Tkinter stops responding as Selenium opens,…
-
0
votes1
answer317
viewsWebscrap with Selenium - How to select content from a drop-down menu item with quotes in id
I see you have a similar question, but the answer still hasn’t helped me. I need to collect data from the Central Bank. For this, I need to download the files that are in a drop down, one at a time.…
-
0
votes1
answer452
viewsError making a loop for comments on instagram, who helps me? Python Selenium
I need to make a loop that picks up line by line from a file. txt and post as comment on instagram. Through a test I managed to print the first 10 lines of a file. txt arquivo =…
-
0
votes1
answer415
viewsRadio button selection - Selenium and Python
Good morning, everyone! I’m trying to extract information from the central bank website using Lenium with python. First let me explain that although there is an API to get the SELIC number, it only…