Code Monkey home page Code Monkey logo

abb-bot's People

Contributors

fabifont avatar rubenxx00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

abb-bot's Issues

.

"Avvia una volta l'applicazione per generare i file di default che si trovano nella cartella C:\Users\aliexpress per windows e /home/aliexpress per Linux"
Hi,

What application is that? Which one?

I didnt understand

Hi,I dont know anything about programming.Could you explain me detailed please?

Translation

Can you produce a tutorial in English? tks

Non capisco come continuare

Una volta che estraggo la cartella aliexpress dal rar, non capisco come far avviare il programma. Il JDK mi risulta completamente inutile, non capisco dove mettere il link visto che "config.properties" non esiste

Android emulator

Hello there,

I want to ask, is it possible to run this bot with android emulator?
as I know bluestacks has ADB feature too, What do I need to change is IP to IP:Port?

org.openqa.selenium.NoSuchElementException: no such element

Hi i am having a problem with bot. It starts and opens 2 windows. one with temp mail and one with the twitter. Then it closes both. Waits a bit and starts again. Could it be because of twitter page starts in turkish ? I had tried ways to change the language but failed.

[INFO]: Logging su file abilitato: C:\Users\Arda\aliexpress\logfile.txt
[INFO]: Caricamento della configurazione in corso...
[INFO]: Configurazione caricata correttamente
[INFO]: Chiudo le istanze di Chrome e ChromeDriver
[INFO]: TenMinuteMailNet ha ratio 1,000000
[INFO]: Provider scelto => TenMinuteMailNet
[INFO]: Letta email temporanea!
[ERROR]: Eccezione non gestita!
[TRACE]: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@name="Data di nascita"]"}
  (Session info: chrome=88.0.4324.104)
For documentation on this error, please visit: https://selenium.dev/exceptions/#no_such_element
Build info: version: '4.0.0-alpha-7', revision: 'de8579b6d5'
System info: host: 'DESKTOP-LKBRLTI', ip: '192.168.42.134', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 88.0.4324.104, chrome: {chromedriverVersion: 88.0.4324.96 (68dba2d8a0b14..., userDataDir: C:\Users\Arda\aliexpress\ch...}, goog:chromeOptions: {debuggerAddress: localhost:52986}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: 4fcd4dfc2775b2dce6a103262ecf3d62
*** Element info: {Using=xpath, value=//input[@name="Data di nascita"]}
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:196)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:129)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:167)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:123)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:501)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:332)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:379)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:312)
	at com.fabifont.aliexpress.account.Account.createLinkedTwitterAccount(Account.java:110)
	at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java:56)
	at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java:17)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)

Errors

Im sorry for disturbing you again,
but I have 2 problems I think

1-Is that normal?
https://hizliresim.com/WbWavC

2-How much time I must wait?

3-Im so sorry for my ignorance,and I get this error I suppose:
ChromeDriver was started successfully.
ChromeDriver was started successfully.
[ERROR]: Eccezione non gestita!
[TRACE]: org.openqa.selenium.SessionNotCreatedException: session not created: Th
is version of ChromeDriver only supports Chrome version 88
Current browser version is 87.0.4280.141 with binary path C:\Program Files\Googl
e\Chrome\Application\chrome.exe
Build info: version: '4.0.0-alpha-7', revision: 'de8579b6d5'
System info: host: 'DESKTOP-0HK0F90', ip: '192.168.42.253', os.name: 'Windows 10
', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.9.1'
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
GetHandleVerifier [0x008DB963+483]
GetHandleVerifier [0x008DB941+449]
GetHandleVerifier [0x00C83308+3832712]
GetHandleVerifier [0x00C9D69A+3940122]
GetHandleVerifier [0x00C99AFB+3924859]
GetHandleVerifier [0x00C97D9C+3917340]
GetHandleVerifier [0x00CBE7FE+4075646]
GetHandleVerifier [0x00CBE56C+4074988]
GetHandleVerifier [0x00CBB2EB+4062059]
GetHandleVerifier [0x00C9ED14+3945876]
GetHandleVerifier [0x00C9FBCE+3949646]
GetHandleVerifier [0x00C9FB59+3949529]
Ordinal0 [0x0089B5CC+46540]
Ordinal0 [0x00899F53+40787]
Ordinal0 [0x00899B12+39698]
GetHandleVerifier [0x00BA1468+2907368]
GetHandleVerifier [0x009E71EE+1096302]
GetHandleVerifier [0x009A3E8D+821005]
GetHandleVerifier [0x009A396B+819691]
GetHandleVerifier [0x009A3881+819457]
GetHandleVerifier [0x009CF463+998627]
BaseThreadInitThunk [0x75C0FA29+25]
RtlGetAppContainerNamedObjectPath [0x778D75F4+228]
RtlGetAppContainerNamedObjectPath [0x778D75C4+180]

    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInsta

nce0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInsta
nce(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newI
nstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:
490)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0
(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFuncti
on$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$1(P
rotocolHandshake.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipe
line.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Splitera
tors.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Refere
ncePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Abstra
ctPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline
.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractP
ipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.
java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline
.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipel
ine.java:543)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHa
ndshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHa
ndshake.java:75)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExe
cutor.java:139)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(Driv
erCommandExecutor.java:123)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.ja
va:501)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriv
er.java:207)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.jav
a:127)
at org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.jav
a:93)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:163)

    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:150)

    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:139)

    at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java

:50)
at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java
:17)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoo
lExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
olExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

Ekran Görüntüsü (12)

[ERROR]: Eccezione non gestita!

Ciao!!!
Grazie mille per l'ottimo lavoro!!!
sto provando a farlo funzionare ma ricevo l'errore in oggetto.
Ti allego il log completo:

[INFO]: Logging su file abilitato: C:\Users\stefa\aliexpress\logfile.txt
[INFO]: Caricamento della configurazione in corso...
[INFO]: Configurazione caricata correttamente
[INFO]: Chiudo le istanze di Chrome e ChromeDriver
[INFO]: TenMinuteMailNet ha ratio 1,000000
[INFO]: Provider scelto => TenMinuteMailNet
[INFO]: Letta email temporanea!
[INFO]: Letto codice di verifica di Twitter: 288367
[INFO]: Creato account Twitter!
[INFO]: TenMinuteMailNet ha avuto successo
[ERROR]: Eccezione non gestita!
[TRACE]: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for com.fabifont.aliexpress.account.Account$$Lambda$429/0x0000000800d8f2b0@3e52c3b2 (tried for 60 second(s) with 500 milliseconds interval)
Build info: version: '4.0.0-alpha-7', revision: 'de8579b6d5'
System info: host: 'PC-STUDIO', ip: '169.254.199.75', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 88.0.4324.150, chrome: {chromedriverVersion: 88.0.4324.96 (68dba2d8a0b14..., userDataDir: C:\Users\stefa\aliexpress\c...}, goog:chromeOptions: {debuggerAddress: localhost:59573}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: 71f5bd3ce743b28f6f276ad1ab139fad
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:211)
	at com.fabifont.aliexpress.account.Account.clickAliexpress(Account.java:185)
	at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java:58)
	at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java:17)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)

[INFO]: --------------------
[INFO]: 0 click con successo
[INFO]: 1 errori
[INFO]: 0 ban di IP
[INFO]: --------------------
[INFO]: Chiudo le istanze di Chrome e ChromeDriver
[INFO]: TenMinuteMailNet ha ratio 1,000000
[INFO]: Provider scelto => TenMinuteMailNet
[INFO]: Letta email temporanea!
[INFO]: Letto codice di verifica di Twitter: 684533
[INFO]: Creato account Twitter!
[INFO]: TenMinuteMailNet ha avuto successo
[ERROR]: Eccezione non gestita!
[TRACE]: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for com.fabifont.aliexpress.account.Account$$Lambda$429/0x0000000800d8f2b0@27429d1d (tried for 60 second(s) with 500 milliseconds interval)
Build info: version: '4.0.0-alpha-7', revision: 'de8579b6d5'
System info: host: 'PC-STUDIO', ip: '169.254.199.75', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 88.0.4324.150, chrome: {chromedriverVersion: 88.0.4324.96 (68dba2d8a0b14..., userDataDir: C:\Users\stefa\aliexpress\c...}, goog:chromeOptions: {debuggerAddress: localhost:59685}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: 7ce4b52ca951cd5479cbeaab86dd6051
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:211)
	at com.fabifont.aliexpress.account.Account.clickAliexpress(Account.java:185)
	at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java:58)
	at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java:17)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)

[INFO]: --------------------
[INFO]: 0 click con successo
[INFO]: 2 errori
[INFO]: 0 ban di IP
[INFO]: --------------------
[INFO]: Chiudo le istanze di Chrome e ChromeDriver
[INFO]: TenMinuteMailNet ha ratio 1,000000
[INFO]: Provider scelto => TenMinuteMailNet
[INFO]: Letta email temporanea!
[INFO]: Letto codice di verifica di Twitter: 018326
[INFO]: Creato account Twitter!
[INFO]: TenMinuteMailNet ha avuto successo
[ERROR]: Eccezione non gestita!
[TRACE]: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for com.fabifont.aliexpress.account.Account$$Lambda$429/0x0000000800d8f2b0@50592c18 (tried for 60 second(s) with 500 milliseconds interval)
Build info: version: '4.0.0-alpha-7', revision: 'de8579b6d5'
System info: host: 'PC-STUDIO', ip: '169.254.199.75', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 88.0.4324.150, chrome: {chromedriverVersion: 88.0.4324.96 (68dba2d8a0b14..., userDataDir: C:\Users\stefa\aliexpress\c...}, goog:chromeOptions: {debuggerAddress: localhost:49818}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: 21a31772a3db27a82a8762ba53366b2a
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:211)
	at com.fabifont.aliexpress.account.Account.clickAliexpress(Account.java:185)
	at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java:58)
	at com.fabifont.aliexpress.account.AccountWorker.call(AccountWorker.java:17)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)

Grazie mille
Stefano

Video supported setup

Hello, although I try to install it using translation, unfortunately I'm stuck somewhere. Everyone works very well if you publish a video-supported setup so that users can setup more easily.

is there going to be any updates?

This bot is really good and hopefully you guys can make some future updates sadly i don't know anything of java else i would possible make some prs to help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.