alright icon indicating copy to clipboard operation
alright copied to clipboard

error 'no such element: Unable to locate element'

Open eliyotz opened this issue 2 years ago • 0 comments

i fixed self.browser.find_element_**by_xpath**('//div[@id="main"]/header/div[1]/div[1]/div[1]/span').get_attribute("data-testid") to self.browser.find_element(**By.XPATH**,'//div[@id="main"]/header/div[1]/div[1]/div[1]/span').get_attribute("data-testid") and i gets this error: selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id="main"]/header/div[1]/div[1]/div[1]/span"} (Session info: chrome=105.0.5195.54)

eliyotz avatar Sep 01 '22 10:09 eliyotz