UnMars / Prolific-Joiner

Automatically join www.prolific.co studies
GNU General Public License v3.0
34 stars 12 forks source link

Selenium issue #30

Closed iTzPinGuu closed 4 months ago

iTzPinGuu commented 4 months ago

I have updated python to last version, i have installed all requirements, but i get problem after Logging in text.. The debugger says at line 98 WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.XPATH, "//button[@type='submit']"))) and the error says: selenium.common.exceptions.TimeoutException: Message: Stacktrace: GetHandleVerifier [0x00DCC1C3+27395] (No symbol) [0x00D63DC4] (No symbol) [0x00C61B7F] (No symbol) [0x00CA2C65] (No symbol) [0x00CA2D3B] (No symbol) [0x00CDEC82] (No symbol) [0x00CC39E4] (No symbol) [0x00CDCB24] (No symbol) [0x00CC3736] (No symbol) [0x00C97541] (No symbol) [0x00C980BD] GetHandleVerifier [0x01083A93+2876371] GetHandleVerifier [0x010D7F5D+3221661] GetHandleVerifier [0x00E4D634+556916] GetHandleVerifier [0x00E5474C+585868] (No symbol) [0x00D6CE04] (No symbol) [0x00D69818] (No symbol) [0x00D699B7] (No symbol) [0x00D5BF0E] BaseThreadInitThunk [0x7682FCC9+25] RtlGetAppContainerNamedObjectPath [0x777280CE+286] RtlGetAppContainerNamedObjectPath [0x7772809E+238]

UnMars commented 4 months ago

Have you got the last version of the tool ? (There was a push those last days) Your error is that when it log in at the beginning it's not finding the log in button, try to deactivate the headless mode at the creation of the selenium browser and see why it happens

iTzPinGuu commented 4 months ago

Yes, i have installed when i pull the issue.. i try follow your instructions

Saluti, Giovanni Pio

On Fri, Jul 5, 2024, 9:51 PM UnMars @.***> wrote:

Have you got the last version of the tool ? (There was a push those last days) Your error is that when it log in at the beginning it's not finding the log in button, try to deactivate the headless mode at the creation of the selenium browser and see why it happens

— Reply to this email directly, view it on GitHub https://github.com/UnMars/Prolific-Joiner/issues/30#issuecomment-2211347312, or unsubscribe https://github.com/notifications/unsubscribe-auth/A62PFE6XS5P22XA2MSKGRQTZK32MLAVCNFSM6AAAAABKNT63TSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRGM2DOMZRGI . You are receiving this because you authored the thread.Message ID: @.***>

iTzPinGuu commented 4 months ago

Btw what do you mean when selenium browser? I dont see nothing open..

Saluti, Giovanni Pio

On Fri, Jul 5, 2024, 9:51 PM UnMars @.***> wrote:

Have you got the last version of the tool ? (There was a push those last days) Your error is that when it log in at the beginning it's not finding the log in button, try to deactivate the headless mode at the creation of the selenium browser and see why it happens

— Reply to this email directly, view it on GitHub https://github.com/UnMars/Prolific-Joiner/issues/30#issuecomment-2211347312, or unsubscribe https://github.com/notifications/unsubscribe-auth/A62PFE6XS5P22XA2MSKGRQTZK32MLAVCNFSM6AAAAABKNT63TSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRGM2DOMZRGI . You are receiving this because you authored the thread.Message ID: @.***>

ghost commented 4 months ago

try using this command "pip install -U selenium" before using "python main.py" it usually solves the problem

UnMars commented 4 months ago

Btw what do you mean when selenium browser? I dont see nothing open..

Saluti,

Giovanni Pio

On Fri, Jul 5, 2024, 9:51 PM UnMars @.***> wrote:

Have you got the last version of the tool ? (There was a push those last

days)

Your error is that when it log in at the beginning it's not finding the

log in button, try to deactivate the headless mode at the creation of the

selenium browser and see why it happens

Reply to this email directly, view it on GitHub

https://github.com/UnMars/Prolific-Joiner/issues/30#issuecomment-2211347312,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/A62PFE6XS5P22XA2MSKGRQTZK32MLAVCNFSM6AAAAABKNT63TSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRGM2DOMZRGI

.

You are receiving this because you authored the thread.Message ID:

@.***>

Just comment the line 82 in main.py, you'll see the browser

iTzPinGuu commented 4 months ago

Turns out, when commenting line 82 I see the browser and my antivirus kaspersky block the certificate. I disable internet protection and now is running.