Closed arham837 closed 1 year ago
Hi,
Can you send a ss of your init.py file?
init.py screen shot is attached . https://ibb.co/xLmVmWC https://ibb.co/xLmVmWC
You should add tab to close_browser function. Please check the init function in the above.
From where i can check ?
See differences.
ok ok got it thanks and please tell me about add me fast bot how to use
You should have Addmefast account and sub app accounts(Facebook, Instagram, Pinterest etc.). After you enter your credentials, you will gain credits.
I am getting this error
DevTools listening on ws://127.0.0.1:55405/devtools/browser/138aaee1-f32c-41e0-b845-ae6d35ebb800
Traceback (most recent call last):
File "C:\Users\mansh\Desktop\FollowerBot-main\FollowerBot-main\get_credit_on_AddMeFast.py", line 958, in
Please run it in non-headless mode and give feedback to me.
can you tell me code for running or process for running in non headless mode.
Logged in AddmeFast. Your current point is: 12
Traceback (most recent call last):
File "C:\Users\Asus\Downloads\Compressed\FollowerBot-main\FollowerBot-main\get_credit_on_AddMeFast.py", line 960, in
now this error is coming.
Btw, can you open a new ticket? Because the title is wrong and I fixed your the previous problem.
Yes why not wait.
Error while running script
Traceback (most recent call last): File "C:\Users\mansh\Desktop\FollowerBot-main\FollowerBot-main\get_credit_on_KingdomLikes.py", line 30, in go_to_website yt_view = self.browser.find_element(By.XPATH, '//[@id="idpage5"]/div/div[5]/button') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\mansh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 830, in find_element return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\mansh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute self.error_handler.check_response(response) File "C:\Users\mansh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//[@id="idpage5"]/div/div[5]/button"} (Session info: headless chrome=110.0.5481.96) Stacktrace: Backtrace: (No symbol) [0x00EF37D3] (No symbol) [0x00E88B81] (No symbol) [0x00D8B36D] (No symbol) [0x00DBD382] (No symbol) [0x00DBD4BB] (No symbol) [0x00DF3302] (No symbol) [0x00DDB464] (No symbol) [0x00DF1215] (No symbol) [0x00DDB216] (No symbol) [0x00DB0D97] (No symbol) [0x00DB253D] GetHandleVerifier [0x0116ABF2+2510930] GetHandleVerifier [0x01198EC1+2700065] GetHandleVerifier [0x0119C86C+2714828] GetHandleVerifier [0x00FA3480+645344] (No symbol) [0x00E90FD2] (No symbol) [0x00E96C68] (No symbol) [0x00E96D4B] (No symbol) [0x00EA0D6B] BaseThreadInitThunk [0x762C7D69+25] RtlInitializeExceptionChain [0x7724BB9B+107] RtlClearBits [0x7724BB1F+191]
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\mansh\Desktop\FollowerBot-main\FollowerBot-main\get_credit_on_KingdomLikes.py", line 52, in
kl.go_to_website()
File "C:\Users\mansh\Desktop\FollowerBot-main\FollowerBot-main\get_credit_on_KingdomLikes.py", line 39, in go_to_website
surf = self.browser.find_element(By.XPATH, '//[@id="idpage5"]/div/div[5]/button')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mansh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 830, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mansh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "C:\Users\mansh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//[@id="idpage5"]/div/div[5]/button"}
(Session info: headless chrome=110.0.5481.96)
Stacktrace:
Backtrace:
(No symbol) [0x00EF37D3]
(No symbol) [0x00E88B81]
(No symbol) [0x00D8B36D]
(No symbol) [0x00DBD382]
(No symbol) [0x00DBD4BB]
(No symbol) [0x00DF3302]
(No symbol) [0x00DDB464]
(No symbol) [0x00DF1215]
(No symbol) [0x00DDB216]
(No symbol) [0x00DB0D97]
(No symbol) [0x00DB253D]
GetHandleVerifier [0x0116ABF2+2510930]
GetHandleVerifier [0x01198EC1+2700065]
GetHandleVerifier [0x0119C86C+2714828]
GetHandleVerifier [0x00FA3480+645344]
(No symbol) [0x00E90FD2]
(No symbol) [0x00E96C68]
(No symbol) [0x00E96D4B]
(No symbol) [0x00EA0D6B]
BaseThreadInitThunk [0x762C7D69+25]
RtlInitializeExceptionChain [0x7724BB9B+107]
RtlClearBits [0x7724BB1F+191]
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\mansh\Desktop\FollowerBot-main\FollowerBot-main\get_credit_on_KingdomLikes.py", line 54, in
kl.close_browser()
File "C:\Users\mansh\Desktop\FollowerBot-main\FollowerBot-main\get_credit_on_KingdomLikes.py", line 46, in close_browser
Setup.close_browser(self)
^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'Setup' has no attribute 'close_browser'