Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Source Page | Selenium Project
Selenium Project
course content

Contenu du cours

Selenium Project

book
Source Page

driver.page_source is a property in the selenium library for Python that returns the HTML source code of the current web page being displayed in the web browser controlled by Selenium. When a Python script calls driver.page_source, it retrieves the HTML source code of the web page and returns it as a string.

Tâche

Swipe to start coding

  1. Use the page_source attribute to inspect the content of the html page.

Solution

Mark tasks as Completed
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 4
AVAILABLE TO ULTIMATE ONLY
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt