I am trying to make a web automation program that opens my school’s app. Our school is using Adobe Connect. When I try to open the installed app, it gives me a confirmation alert. Which is not inspectable and can’t define any XPath or… So, how can I handle this? I have read many QAs but I can’t manage it.
Tag: selenium
Download “401 Unauthorized” video with selenium
I’m trying to create a bot that will download videos from this site named “Sdarot” using selenium and python3. Each video (or episode) in the site has a unique page and URL. When you load an episode, you have to wait 30 seconds for the episode to “load”, and only then the <video> tag appears in the HTML source file.
Selenium how to select first option if page has multiple select box using python
I have 3 select box’s in my page example : If there has 5 or 6 select box I will always select 1st option, I am unable to do it using selenium. I have tried below code But no any impact, How can I solve this problem ? Answer You are very near of the solution ! See the documentation
Why selenium dont find tag and class
I recently started using selenium and I can’t solve one problem. When I use find_element_by_tag(class)_name or _css_selector raise error: But the element I’m looking for exists. For example: Output: But if I want to find “navbar-brand” class, I can do it. What’s the problem? And if I use find_elements, return empty list. P.S If somebody can advise some useful material
Python – Selenium – webscrape table with text in html using WebDriverWait
I try to webscrape all the Company Names with 500 or more employees of the following website: https://de.statista.com/companydb/suche?idCountry=276&idBranch=0&revenueFrom=-1000000000000000000&revenueTo=1000000000000000000&employeesFrom=500&employeesTo=100000000&sortMethod=revenueDesc&p=1 I wrote a code to scrape the Company Names of the the first site and the script will then click on the “Next Site Button” and scrape again the names. The names will be saved into a list, and this will happen
How to extract text from div class using Selenium with Python
I am trying to create a bot to pay some bills automatically. The issue is I can’t extract the amount(text) under div class. The error is element not found. Used driver.find_element_by_xpath and WebDriverWait. Can you please indicate how to get the highlighted text-see the attached link? Thanks in advance.Page_inspect Answer I believe there was some issue with your xpath. Try
ModuleNotFoundError: No module named ‘webdriver_manager’ error even after installing webdrivermanager
I’ve installed webdrivermanager on my windows-10 system Still whenever I am trying to use webdrivermanager I’m facing an error. Code Block: Console Output: Can someone help me, if I’m missing something? Incase it adds any value, I’m using sublimetext3 Answer Update (thanks to Vishal Kharde) The documentation now suggests: Solution: Install it like that: instead of pip install webdrivermanager. Requirements:
How to generate a test report in python using selenium and unittest?
I was trying to test a simple login form with different cases. I used python,selenium,python’s unittest library for testing and i am able to get test done by unittest library but how can i generate test reports for this ? I tried with HTMLTestRunner but it has bugs and i found it was written for python 2x version. A lot
Adding JavaScript event listener with Selenium triggers it automatically
As there is (according to my research) no way to catch user input with selenium, I am trying to use a JavaScript event listener. But when I add the event listener by executing the JavaScript code, the function is automatically triggered without me (as the user) doing anything. Furthermore, there is no way to trigger the function again. Does anyone
inputs being filled in too fast in selenium | python 3.8
so I am trying to log into this website called ttrockstars, and I have written a function to login to the website. However the code seems to be running too fast and ignoring time.sleep(5) that i have added to the code: When I run this, it simply enters the school name and then deletes it and enters the username and