Selenium Webdriver with Python - driver.title parameter

后端 未结 1 809
温柔的废话
温柔的废话 2020-12-31 14:29

I\'m new to Python and Selenium. Could you explain how the driver.title parameter is derived? Below is a simple webdriver script. How do you find what other driver.x

相关标签:
1条回答
  • 2020-12-31 15:17

    I'm not sure what you are asking here.

    Other driver.x parameters can be found in documentation or source code.

    # Generally I found the following might be useful for verifying the page:
    driver.current_url
    driver.title
    
    # The following might be useful for verifying the driver instance:
    driver.name
    driver.orientation
    driver.page_source
    driver.window_handles
    driver.current_window_handle
    driver.desired_capabilities
    
    0 讨论(0)
提交回复
热议问题