Skip to content

Unable to send key press in Selenium #3363

@SivaKesava1

Description

@SivaKesava1

I have the following code snippet in Python:

driver = webdriver.Chrome(executable_path="/home/sivakesava/chromedriver",chrome_options = chrome_options)
ActionChains(driver).send_keys(Keys.F3).perform()
driver.get('http://google.com')

Even though I send the F3 key the Find dialog box does not open. Is there any alternative because I need to send the key before loading the URL and by "find_element_ ... " method I could not send a key in general to the webpage.
Any suggestion would be really helpful for my project.

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