Open lukebuke34 opened 2 years ago
@lukebuke34 u can change the line password1 = driver.find_element(By.CSS_SELECTOR, '#loginContainer > div.tiktok-xabtqf-DivLoginContainer.exd0a430 > form > div.tiktok-15iauzg-DivContainer.ewblsjs0 > div > input')
to password1 = driver.find_element(By.XPATH, "//input[@placeholder='Password']")
i thing ther's some thing change at website element, that mean maybe we need to try to create another version of the tool, can u told me if IWSCode Selution is working with you or not
password1 = driver.find_element(By.XPATH, "//input[@Placeholder='Password']") This code isn`t working for me. Something changed on site
I hope you like this tool, and it be useful for you to use it, and you can support me at: "www.buymeacoffee.com/LeaDer.E"
login process... Traceback (most recent call last): File "/home/kali/Tiktok-Auto-Liker/LeaDer-E_Liker.py", line 1478, in
password1 = driver.find_element(By.CSS_SELECTOR, '#loginContainer > div.tiktok-xabtqf-DivLoginContainer.exd0a430 > form > div.tiktok-15iauzg-DivContainer.ewblsjs0 > div > input')
File "/home/kali/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 857, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/home/kali/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 435, in execute
self.error_handler.check_response(response)
File "/home/kali/.local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"#loginContainer > div.tiktok-xabtqf-DivLoginContainer.exd0a430 > form > div.tiktok-15iauzg-DivContainer.ewblsjs0 > div > input"}
(Session info: chrome=103.0.5060.134)
Stacktrace:
0 0x556cf54dccd3
1 0x556cf52e4968
2 0x556cf531bfd7
3 0x556cf531c1a1
4 0x556cf534f154
5 0x556cf5339bdd
6 0x556cf534cea8
7 0x556cf5339aa3
8 0x556cf530f3fa
9 0x556cf5310555
10 0x556cf55242bd
11 0x556cf5528418
12 0x556cf550e36e
13 0x556cf5529078
14 0x556cf5502bb0
15 0x556cf5545d58
16 0x556cf5545ed8
17 0x556cf555fcfd
18 0x7fd0458bad80