I just started my first project with selenium using python. My first task is to login to chrome using 'Sign to chrome' button, but I just can't click it: Sign to chrome button
Button HTML:
<paper-button class="action-button" role="button" tabindex="0" animated="" aria-disabled="false" elevation="0">
Sign in to Chrome
</paper-button>
This is the link: chrome://settings/people
I've tried:
driver = webdriver.Chrome()
driver.find_element_by_class_name('action-button').click()
driver.find_element_by_xpath('//paper-button[@class='action-button']').click()
driver.find_element_by_css_selector('paper-button.action-button').click()
Nothing worked.
Error:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"paper-button:not([raised]).action-button"}