Skip to content
Advertisement

Tag: selenium

ChromeDriver ERR_SSL_PROTOCOL_ERROR despite –ignore-certificate-errors

I’m trying to run integration tests on a local host (with no HTTPS) using selenium with ChromeDriver. Chrome requires an https certificate, but from this question i understand that i can circumvent this using the arg –ignore-certificate-errors I have also added to my capabilities acceptInsecureCerts, as this seems like the appropriate course of action (docs) The response from the chromedriver

How to use existing login token for telegram web using selenium webdriver

I’m trying to read telegram messages from https://web.telegram.org with selenium. When i open https://web.telegram.org in firefox i’m already logged in, but when opening the same page from selenium webdriver(firefox) i get the login page. I saw that telegram web is not using cookies for the auth but rather saves values in local storage. I can access the local storage with

Scroll down google reviews with selenium

I’m trying to scrape the reviews from this link: https://www.google.com/search?q=google+reviews+2nd+chance+treatment+40th+street&rlz=1C1JZAP_enUS697US697&oq=google+reviews+2nd+chance+treatment+40th+street&aqs=chrome..69i57j69i64.6183j0j7&sourceid=chrome&ie=UTF-8#lrd=0x872b7179b68e33d5:0x24b5517d86a95f89,1 For what I’m using the following code to load the page The page load fine, it is not scrolling down, I have used the same code for other sites like linkedn and it works there. Answer Here is the logic that you can use without using the javascript scroll down.

Scraping Data from a website which uses Power BI – retrieving data from Power BI on a website

I want to scrape data from this page (and pages similar to it): https://cereals.ahdb.org.uk/market-data-centre/historical-data/feed-ingredients.aspx This page uses Power BI. Unfortunately, finding a way to scrape Power BI is hard, because everyone wants to scrape using/into Power BI, not from it. The closest answer was this question. Yet unrelated. Firstly, I used Apache tika, and soon I realized the table data

Getting fixture not found in pytest

I am getting following error while running pytest using following code im unable to figure out whats wrong please find below code snippets. Console ouput : My Base class contains following code: and test class contains following code: The test fixture is web_driver still getting error not found ! Answer web_driver() is defined outside Base class scope, so it’s invisible

Selenium: WebDriverException:Chrome failed to start: crashed as google-chrome is no longer running so ChromeDriver is assuming that Chrome has crashed

Recently I switched computers and since then I can’t launch chrome with selenium. I’ve also tried Firefox but the browser instance just doesn’t launch. i get the following error: i have the latest chrome version and chromedriver installed EDIT: After trying @b0sss solution i am getting the following error. Answer Try to download HERE and use this latest chrome driver

Advertisement