Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 98825 articles
Browse latest View live

Selenium close my Chrom windows with no Error Message

Hay,My Problem is:When I start the code it works it opens a window then another one and so on. After 4 Windows all 4 close with a little delay between and the program goes one like nothing happened a...

View Article


How to export a list to web page text box using selenium webdriver in python?

I have imported data of 430 rows and 1 column from google sheets to the python data frame. Now I need to put this data into a textbox in a webpage using python selenium.sheet1 =...

View Article


Image may be NSFW.
Clik here to view.

Selenium + chromedriver is not able to load HTML in only some pages, but not...

This is in the same project I asked hereHowever, this time I encounter another issue. Bascially, I am trying to get the 2 fields Updated and Published under the More information toggle link (the HTML...

View Article

How to run Selenium in Aegis Blade

I am trying to run a simple selenium task using Firefox on Aegis Blade. I am hitting some errors though.I set my api key:$ export AEGISBLADE_API_KEY="my-api-key"Then run this code:from aegisblade...

View Article

I'm trying to scrape college football team rosters into an excel file and...

I'm trying to build a program using Python to scrape NCAA football rosters into an Excel file, but I can't figure out how to organize the data in the way I want. Currently I'm able to scrape all the...

View Article


org.openqa.selenium.WebDriverException: Returned value cannot be converted to...

I am facing the issue : Returned value cannot be converted to WebElement. I am using BrowserStack as a cloud platform.My appium code : package root; import java.net.MalformedURLException; import...

View Article

Python - Scraping web page for information that only appears after scrolling

I'm trying to scrape this web page for the arguments that are in each of the headers.What I've tried to do is scroll all the way to the bottom of the page so all the arguments are revealed (it doesn't...

View Article

Access Detailed Information From Anchor Tags On A Web Page

I am scraping a web page, I have managed to fetch the data from the table into a csv file using selenium. What I am struggling with is to fetch information from anchor tags present on each row of the...

View Article


How to confirm results from “find_element_by” search using Python and Selenium?

I'm trying to automate login to https://auth.tesla.com/login but getting stuck trying to enter my email address. I've tried these Python code lines: email_box =...

View Article


Opening a test page in Selenium

I am starting to work with Selenium, so I created (what I thought) was a quick test script to simply open a page within my company's intranet.I wasn't sure where exactly I was supposed to download the...

View Article

How to write the selenium code to select the random recaptcha images

I try with this code, but Eclipse cannot select the recaptcha images using seleniumnew WebDriverWait(driver,...

View Article

Image may be NSFW.
Clik here to view.

how can call an action in specific text selenium

My idea is call an action just when the is 'yes' but i dont want to call and action when is not. Example. in the next code each id is a photo (i can see that every photo have diferent Id) . Inside this...

View Article

Python Selenium 4 - Firefox FirefoxBinary() Deprecated

I have upgraded to Selenium 4new_binary_path = FirefoxBinary('path_to_binary') selenium.webdriver.Firefox(executable_path=path, options=ops, firefox_binary=new_binary_path)...

View Article


Stopping the program until an element is found [Selenium, Python]

import pyautogui import selenium import time from selenium import webdriver from selenium.webdriver.common.keys import Keys Hello! So I have been able to detect in Selenium Solving is in...

View Article

Selenium Webdriver interpret local file with non html ending as html

I have downloaded bunch of sites, that has a fileending called snapshot, when I open itfrom selenium import webdriver driver = webdriver.Remote(service.service_url)...

View Article


Python Selenium 4 - Firefox installAddon not working

I've upgraded to selenium 4new_addon_path = 'path/uBlock.xpi' browser1 = selenium.webdriver.Firefox(options=opts, etc....) browser1.install_addon(new_addon_path)...

View Article

Image may be NSFW.
Clik here to view.

Python selenium how to get parent element

I want to find at "Road" text and get position parent about it.in the picture My code get to "Road" text. but can't get to parent of position element T4 =...

View Article


How to write generic xpath?

I am trying to write generic XPath for the below sites. Both sites have same elements on UI, but DOM structure is different while interacting with elements.Here I am trying to get the text of left eye...

View Article

How i can cut java stacktrace for selenium test?

Same actions for javaimport org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class Lol {...

View Article

Login on Instagram using python but it gives error, help pls

I have made a code where I try to login to my instagram account but it gives me many errors (If anyone knows how to fix them, tell me pls).The code:import pdb from selenium import webdriver driver =...

View Article
Browsing all 98825 articles
Browse latest View live