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

Selenium webdriver in python - Unable to get browser

from selenium import webdriverimport csvimport timeurl_results=[]driver_ie = webdriver.Ie('C:\\Users\\aviv\\Desktop\\IEDriverServer')with open ('C:\\Users\\aviv\\Desktop\\urlspart.txt','r') as d: urls=...

View Article


How can I scrape prices and titles of this website?

I am not able to scrape the page : https://www.catawiki.com/fr/c/965-rhum-cognac-et-spiritueux?page=1 and the next pages due to cookies banner I believe or maybe there is something that block the...

View Article


Selenium Web Driver (with Java) can not locate the iframe

I am following a tutorial that navigates to a site: demo.opencart.com and then prints the title. However, the website now has a human verification page before taking the user to the landing...

View Article

Scrape MP4 link in tag, from a twitch clip, without using selenium? (Too slow)

Not using the Twitch API, by the way.Is there any way I can use requests and beautifulsoup4 to scrape the link?I want to scrape the <video> tag that actually contains the "src" attribute for the...

View Article

Image may be NSFW.
Clik here to view.

How to make element displayed to true in Selenium using C#

I want to click an excel button on a page but i am getting "element not interactable" error.When i debugged it, i see the element display is set to false. However, i can go to the page and click...

View Article


How to access azure storage blob container having managed identity assigned...

We have some selenium java automation test scripts which access azure blob storage. Earlier with our automation scripts we used to access the storage containers via access key and then download the...

View Article

Python image scraping tool giving errors every couple image downloads

So, I'm in way over my head with this stuff. I haven't used Python since middle school and the extent of my coding practice is in MediaWiki and HTML. I'm trying to scrape my Fandom wiki of its images...

View Article

Selecting options from Auto Complete Dropdown using selenium web driver in...

I have to select options from a drop down on a page. I tried the below code but it is showing a syntax error. Can somebody help me with this?web_element x =...

View Article


Image may be NSFW.
Clik here to view.

Report Portal is not publishing the reports when using with TestNG project

I am trying to use Report Portal for my current TestNG framework but, it is not attaching the logs to the report. I have followed all the required steps to be done as per this document...

View Article


How to Capture a Sequence of High-Quality PDF Frames from a Website (Without...

In Firefox, I can take very high-quality screenshots of a webpage by using Ctrl + P and saving the page as a PDF. This method preserves the text, images, and code in excellent resolution.Now, I have...

View Article

Nobara ( Fedora ) Linux with Python issues when using Selenium and ChromeDriver

The Specs:Intellidea using Python on Nobara Linux ( Fedora based 41)Flatpak method.The problem:I have been trying to make an script to check some files on a social media website.I started using...

View Article

Anti-bot triggered just using driver.find_element() with undetected selenium

I have a python code runnin both keyboard and mouse automation, but when I try to read the content of a webpage with selenium(just need to use the function "driver.find_element"), then the anti-bot...

View Article

How to Detect Ad on Youtube Using Selenium in Python

I’ve been trying to use python selenium to watch YouTube videos for me and collect data.Getting the data is fairly easy, however, I run into problems when an ad pops up in YouTube.For some reason I...

View Article


Webdriver: How can i verify whether a text is present in a page

I want to know how can i verify whether a text is present in a page. I would like to verify whether "Google.co.in offered in" is present in the pagestatic WebDriver driver= new FirefoxDriver();public...

View Article

selenium python handle message websocket

my code:def get_ws_messages(driver): ws_messages = [] sleep(2) driver.execute_cdp_cmd("Network.enable", {}) logs = driver.get_log("performance") for entry in logs: try: log_data =...

View Article


The requested url was rejected

I am working on a simulation site using selenium .I launched on a server to start testing it, after a will the targeted url is giving this error message while it is navigated to by chromeThe requested...

View Article

How to zoom out with Selenium in Python?

I'm trying to test a website with Selenium by clicking on an element. The element is on the page but I cannot see it because it is covered with Slenium floating alert "Chrome is being controlled by...

View Article


Selenium and ChromeDriver Setup Issue in Google Colab: Compatibility Problems...

I am a social scientist with very limited background on computational methods and Python (I am mostly self taught). This is my first time posting here, so please bear with me if I misuse any technical...

View Article

Best practices using the Page Object Mode

I'm trying to figure out the best way of making my Page Objects simple, and whether to put absolutely all logic elsewhere. And whether all Selenium code/functionality should be in the Page Object, or...

View Article

Image may be NSFW.
Clik here to view.

Can't find button using playwright (or puppeteer) for web scraping

There are many similar questions (like this: Scraping Websites With Playwright), yet I did not find and solution to this:I have this...

View Article
Browsing all 99026 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>