Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Simulate Clicks | Selenium Project
Selenium Project
course content

Kurssisisältö

Selenium Project

book
Simulate Clicks

driver.click() is a method in the selenium library for Python that is used to simulate a mouse click on an element on a web page. When a Python script calls driver.click(element), selenium will find the specified element on the web page and simulate a mouse click on it.

Tehtävä

Swipe to start coding

  1. Import By;
  2. Find an element in the webpage which contains the "Explore Sandbox" text and click it;
  3. Print the page_source.

Ratkaisu

Mark tasks as Completed
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 6
AVAILABLE TO ULTIMATE ONLY
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt