Skip to content

WebDriver #2641

@fahadamman7-rgb

Description

@fahadamman7-rgb

from selenium import webdriver
from selenium.webdriver.common.by import By

Setup the browser

driver = webdriver.Chrome()
driver.get('URL_OF_BOOKING_SITE')

Interacting with elements

name_input = driver.find_element(By.ID, 'name')
name_input.send_keys('John Doe')

Click booking button

submit_button = driver.find_element(By.ID, 'submit')
submit_button.click()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions