
Shogi
Active Members-
Posts
25 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Shogi's Achievements

Seeker (1/7)
0
Reputation
-
when i screenshot using _WD_Window($sSession, "screenshot") i get a really big value how to decode that ? hmm
-
Shogi reacted to a post in a topic: Get Pixel Color from Image
-
Shogi reacted to a post in a topic: WebDriver UDF - Help & Support
-
Shogi reacted to a post in a topic: WebDriver UDF - Help & Support
-
Shogi reacted to a post in a topic: WebDriver UDF - Help & Support
-
Shogi reacted to a post in a topic: WebDriver UDF - Help & Support
-
Shogi reacted to a post in a topic: WebDriver UDF - Help & Support
-
@SecreTel Thank You That helped me <3
-
Shogi reacted to a post in a topic: WebDriver UDF - Help & Support
-
@Jos yes it's allowed ... they are bots that allows you to automate your live streaming they are very helpful and have alot of features like spam protecting,minigames and alot more ... all the streamers use them
-
Im making youtube live stream bots but i cant open more then 1 session using webdriver :c and switching between tabs is not the best way ;c i tried alot of things no of them work!!! is there any way to open multi gekodriver instances with diffrent ports ?! i searched alot but didnt find any solution :c
-
how to run multiple gekodriver instances with diffrent ports ?!
-
thank you i understand now why you put that 1 in the first script :3
-
i didnt notice any diffrence in the frame also i dont need to login to an google account for this to happen ... your script only work if you are opening youtube for the first time in the session :c the script below prove that if you open youtube before you go to the live stream the script fail :c $sSession = _WD_CreateSession($sDesiredCapabilities) _WD_Navigate($sSession, "https://www.youtube.com/") _WD_Navigate($sSession, "https://www.youtube.com/watch?v=ghTLdWpANeA")
-
when iconnect to any google account your script stop working __WD_Post: URL=HTTP://127.0.0.1:4444/session/95f4ce3c-3bec-4545-aa43-b007a990b68f/elements; $sData={"using":"tag name","value":"yt-live-chat-text-message-renderer"} __WD_Post: StatusCode=200; ResponseText={"value":[]} _WD_FindElement: {"value":[]} _WD_FindElement ==> No match: HTTP status = 200
-
i used --marionette-port 2828 option and it worked perfectly thank you
-
i have a problem :c when i change the profile it cant connect to the the browser $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"moz:firefoxOptions": {"args": ["-profile", "C:\\Users\\Admin\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\8eg9dycr.default"]}},"javascriptEnabled":true,"nativeEvents":true,"acceptInsecureCerts":true,"pageLoadStrategy":"none"}}' _WD_Startup() $sSession = _WD_CreateSession($sDesiredCapabilities) _WD_Navigate($sSession, "https://www.youtube.com/watch?v=ghTLdWpANeA") 1538265504386 webdriver::server DEBUG -> POST /session {"capabilities": {"alwaysMatch": {"moz:firefoxOptions": {"args": ["-profile", "C:\\Users\\Admin\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\8eg9dycr.default"]}},"javascriptEnabled":true,"nativeEvents":true,"acceptInsecureCerts":true,"pageLoadStrategy":"none"}} 1538265504401 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" "C:\\Users\\Admin\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\8eg9dycr.default" "-foreground" "-no-remote" 1538265504401 geckodriver::marionette DEBUG Waiting 60s to connect to browser on 127.0.0.1:62417
-
Shogi reacted to a post in a topic: WebDriver UDF - Help & Support
-
I want to make a bot who do some actions when u type a command in youtube live stream chat i want him to get text from the last message <yt-live-chat-text-message-renderer class="style-scope yt-live-chat-item-list-renderer" id="CjkKGkNOVEZpWS1yNE4wQ0ZRMXNtQW9kdGtJUDlREhtDTWJfbmN5WDROMENGUks5V0FvZE5wVUQwZzY%3D" author-type=""> all the messages looks like this but with diffrent id and they are putted in a list with x maximum messages .. u can check that urself just type "24/7 livestream" in youtube search bar is there anyway to find the last message ?
-
Sorry For Asking alot what Capabilities i must use with operadriver
-
thank you also why i cant send keyboard and pointer actions to google chrome using chromedriver?! i used this script to test #include <wd_core.au3> #include <wd_helper.au3> #include <Misc.au3> $hDLL = DllOpen("user32.dll") _WD_Option('Driver', 'chromedriver.exe') _WD_Option('Port', 9515) _WD_Option('DriverParams', '--log-path="' & @ScriptDir & '\chrome.log"') $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"chromeOptions": {"w3c": true }}}}' _WD_Startup() $sSession = _WD_CreateSession($sDesiredCapabilities) _WD_Navigate($sSession, "http://google.com") while 1 if _IsPressed("73", $hDLL) then _WD_Action($sSession, "actions", '{"actions": [{"type": "key","id": "keyboard","actions": [{"type": "KeyDown", "value": "a"},{"type": "sleep", "duration": 5},{"type": "Keyup", "value": "a"}]}]}') endif wend Console __WD_Post: StatusCode=404; ResponseText={"value":{"error":"unknown command","message":"(Session infochrome=69.0.3497.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x009EAA90+830096]\n\tOrdinal0 [0x0099581D+481309]\n\tOrdinal0 [0x0096A9F1+305649]\n\tOrdinal0 [0x009500D0+196816]\n\tOrdinal0 [0x0094AA77+174711]\n\tOrdinal0 [0x00932D54+77140]\n\tOrdinal0 [0x0093430C+82700]\n\tOrdinal0 [0x00934260+82528]\n\tOrdinal0 [0x009F5302+873218]\n\tOrdinal0 [0x009A0553+525651]\n\tOrdinal0 [0x009A0783+526211]\n\tOrdinal0 [0x009A086C+526444]\n\tOrdinal0 [0x009F83A7+885671]\n\tOrdinal0 [0x009A03BF+525247]\n\tOrdinal0 [0x009AA60E+566798]\n\tOrdinal0 [0x009B5DDB+613851]\n\tOrdinal0 [0x009B5F45+614213]\n\tOrdinal0 [0x009B5175+610677]\n\tBaseThreadInitThunk [0x76318484+36]\n\tRtlValidSecurityDescriptor [0x77AD305A+282]\n\tRtlValidSecurityDescriptor [0x77AD302A+234]\n"}} _WD_Action: {"value":{"error":"unknown command","message":"(Session infochrome=69.0.3497.100)","stacktrace":"Backtrace:\n\tOrdinal0 [0x009EAA90+830096]\n\tOrdinal0 [0x0099581D+481309]\n\tOrdinal0 [0x0096A9F1+305649]\n\tOrdinal0 [0x009500D0+196816]\n\tOrdinal0 [0x0094AA77+174711]\n\tOrdinal0 [0x00932D54+77140]\n\tOrdinal0 [0x0093430C+82700]\n\tOrdinal0 [0x00934260+82528]\n\tOrdinal0 [0x009F5302+873218]\n\tOrdinal0 [0x009A0553+525651]\n\tOrdinal0 [0x009A0783+526211]\n\tOrdinal0 [0x009A086C+526444]\n\tOrdinal0 [0x009F83A7+885671]\n\tOrdinal0 [0x009A03BF+525247]\n\tOrdinal0 [0x009AA60E+566798]\n\tOrdinal0 [0x009B5DDB+613851]\n\tOrdinal0 [0x009B5F45+614213]\n\tOrdinal0 [0x009B5175+610677]\n\tBaseThreadInitThunk [0x76318484+36]\n\tRtlValidSecurityDescriptor [0x77AD305A+282]\n\tRtlValidSecurityDescriptor [0x77AD302A+234]\n"}}
-
i tried this but didnt work {"moz:firefoxOptions": {"prefs": ["dom.ipc.plugins.enabled.libflashplayer.so","true", "plugin.state.flash", 2]}} from here https://stackoverflow.com/questions/43376707/how-to-enable-adobe-flash-in-firefox-selenium-webdriver-with-firefoxprofile
-
how to enable adobe flash in firefox ?!