So Currently i asked chatGPT to look for the button " Let's Go" on a website usng selenium, however since theres a quote inside the string, it just collaapses in itself.
File "<unknown>", line 2
WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH, '//button[text()="Let
^
SyntaxError: unterminated string literal (detected at line 2)
My apologies for the repeated mistake. The XPath string was not properly closed again. Let's correct this and try again. We will
wait until the "Let's Go" button is clickable.
My apologies for the mistake. The XPath string was not properly closed again. Let's correct this and try again. We will wait until
the "Let's Go" button is clickable.
So Currently i asked chatGPT to look for the button " Let's Go" on a website usng selenium, however since theres a quote inside the string, it just collaapses in itself.
SyntaxError: unterminated string literal (detected at line 2)
My apologies for the repeated mistake. The XPath string was not properly closed again. Let's correct this and try again. We will
wait until the "Let's Go" button is clickable.
My apologies for the mistake. The XPath string was not properly closed again. Let's correct this and try again. We will wait until
the "Let's Go" button is clickable.
'//button[text()="Let
^
SyntaxError: unterminated string literal (detected at line 2)
Wait until the 'Let's Go' button is clickable
WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH, '//button[text()="Let