Skip to content
Advertisement

Tag: selenium

With python’s selenium package, Why Chromedriver starts to display video instead of downloading when click on a tag?

Operating System: Windows 10, 64 bit Editor: VSCode 1.55 Python: 3.9.0 selenium: 3.141.0 I want Chromedriver to start downloading the video when I click on a tag. But instead, it opens a new tab and starts to display the video. The site that I’m trying to download from: https://www.aparat.com/v/9y8M5?playlist=683341 here is my code if needed: I will appreciate for any

After filling first card number field I can’t find any iframes on the page. How to solve this

class TestAplazame(unittest.TestCase): Look from here iframes are only available to the top block iframes elements are not available to the bottom block. included error message at the bottom if name == ‘main’: unittest.main() Even I can’t find the same iframe anymore. What is the problem. how to fix it. It’s a payment gateway test. gateway is from stripe I believe.

How can i click an button inside 2 divs in selenium python?

I’m trying to make selenium click Button1 but for some reasons, I get the following error: selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: Button1 I believe the error is happening because it is inside a div/ul/li tag but I can’t either figure out how to do it, I’m stuck. HTML: Python Code: Edit: I found out that the html is generated

Click through dropdown menu with selenium

I am trying to create flashcards on quizlet.com with selenium. If you visit, you will see a “Create” button (or just a “+” depending on window size) in the navbar, when you click this it turns into a dropdown menu with 3 more buttons: ‘Study Set’, ‘Folder’ and ‘Class’. (I am trying to click Study Set) First, I am not

Advertisement