Search found 759 matches

by Xeo786
17 Feb 2024, 07:36
Forum: Scripts and Functions (v2)
Topic: Rufaydium V2.0.3 Beta
Replies: 1
Views: 220

Re: Rufaydium V2 Beta

Documentation added
by Xeo786
17 Feb 2024, 07:32
Forum: Scripts and Functions (v2)
Topic: Rufaydium V2.0.3 Beta
Replies: 1
Views: 220

Rufaydium V2.0.3 Beta

Rufaydium AutoHotkey WebDriver Library to interact with browsers. Rufaydium will automatically try to download the latest Webdriver and updates Webdriver according to browser Version while creating Webdriver Session. Supported browsers: Chrome, MS Edge, Firefox, Opera. Rufaydium utilizes Rest API o...
by Xeo786
24 Aug 2023, 03:29
Forum: Ask for Help (v2)
Topic: Send entire Row from Excel using COM, how? Topic is solved
Replies: 12
Views: 1120

Re: Send entire Row from Excel using COM, how? Topic is solved

there is a example Pasting excel table to Outlook using MS word inspector so you can change this code according to your need
https://github.com/Xeo786/Excel2Email
by Xeo786
18 Aug 2023, 11:27
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Hey Xeo, can you help me with this code: Driver := "some directory" Chrome := new Rufaydium(Driver) Chrome.capabilities.addArg("--headless") Chrome.capabilities.HeadlessMode := true Chrome.capabilities.setUserProfile("Default") Page := Chrome.NewSession() Page.Navigate("https:...") Page.print("C:\U...
by Xeo786
18 Aug 2023, 11:23
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

updated the lib yesterday
they changed the download location of chromedriver
not just chromedriver
now they are also providing portable chrome for testing
by Xeo786
16 Aug 2023, 08:45
Forum: Scripts and Functions (v2)
Topic: WebSocket client (Implemented via winhttp)
Replies: 24
Views: 4273

Re: WebSocket client (Implemented via winhttp)

I used you library I manage to connect to Chrome's DebuggerUrl but I failed to receive any event. may be I did something wrong here is my code chrome := Rufaydium() page := Chrome.NewSession() page.Url := "https://nowsecure.nl" page.CDPCall("Network.enable",Map()) ws := WebSocket( "ws://" Page.debug...
by Xeo786
16 Aug 2023, 08:25
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

cristalgrip wrote:
17 Jul 2023, 15:35
There is a way to have two different ahk script running with two different Chrome pages (one page for script)?
two separate webdriver executeable with separate ports can handle separate browser sessions
just look into the example there and just change port of the one driver
by Xeo786
16 Aug 2023, 08:22
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Please, help. Rufaydium throws an error "Rufaydium is unable to access Driver Session". How can this be fixed? The latest version of Rufaydium was released on Nov 3, 2022. I have a version of Opera that was released a few days before this update, so the error is probably not due to the version of O...
by Xeo786
16 Aug 2023, 08:18
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

There is a way to have two different ahk script running with two different Chrome pages (one page for script)? The problem I have is with "Browser.capabilities.setUserProfile("Default")" It works only for one Session. If I try the same with two simultaneous session, it crash image.png Profile folde...
by Xeo786
06 May 2023, 12:22
Forum: Scripts and Functions (v2)
Topic: Rufaydium V2.1a
Replies: 3
Views: 2091

Re: Rufaydium V2.1a

Hello, was just wondering if you could explain how to deal with checkboxes, I tried "click()" but it came back with an integer expected error this is the html for the element in question <input type="checkbox" class="create-terms__input" name="agree_terms" value="1" tabindex="7" required=""> changi...
by Xeo786
03 May 2023, 02:13
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Apologies if this is a ridiculous question. I've been slamming my head against the issue and cannot figure it out, even AFTER searching. If the answer is already in this thread, it's my lack of techinical knowhow that is creating the issue. In any event, I have a website and I want to input text in...
by Xeo786
26 Apr 2023, 23:35
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Is there a way to make AHK listen to JS events? That'd be a cool feature I think. for that you need event Callbacks and that is only possible with websocket connection and there is a branch where I demonstrated how to do that. Websocket branch look into file 0 test.ahk , you can find all the event ...
by Xeo786
26 Apr 2023, 23:24
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

@Xeo786 How to close tab? may you help me,thank you very much First you have to make sure that tab you want to close is active tab, the tab in contorl. Session.Close() will close that tab, and if that tab is the last tab then session will automatically terminated. just like a user manually closes t...
by Xeo786
26 Apr 2023, 01:42
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

@Xeo786 I create a new tab in the current session. But when I click on an element it doesn't work. While the old tab still works properly. Where did i go wrong can you tell me? Creating tab/window switchs the control by default, but you can also create tab without switching control, Session.NewTab(...
by Xeo786
26 Apr 2023, 01:31
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Crayder wrote:
22 Apr 2023, 21:36
Is there a way I can do document.createElement and append the element to the body?
yes, by using Javascript Methods Session.ExecuteSync(JS)
by Xeo786
14 Apr 2023, 01:15
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

all you need to do is find out the culprit event from eventlistners using devtools, and then trigger that event manually using JS, or you can use trick to trigger it Tricks: I see you are sening tab aka "`t" it makes focus out so set value and send text both Element.Value := "QCI1234567" Element.Sen...
by Xeo786
10 Apr 2023, 01:17
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Thanks, I want to take this page https://item.jd.com/100007866995.html as a full-page screenshot, but it dose not work properly, the image has some overlap and missing part. Well thats limit of the browser not the Rufaydium bug, 16384px right after that image starts overlap although you get tha ima...
by Xeo786
01 Apr 2023, 03:48
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Can Rufaydium pass the Cloudflare bot checking? check this site: https://nowsecure.nl/ / chrome can't visit it if starting with chromedriver.exe. yes :shh: here How can Rufaydium visit https://chat.openai.com/ ?It always tell me to verify even with the following code chrome.Capabilities.addArg("--d...
by Xeo786
31 Mar 2023, 03:21
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Thanks for the answer, but unfortunately it doesn't make me happy. Would it perhaps be possible to document such changes in such a way that I only install the updated Rufaydium web driver when Chrome is greater than 110? Currently we still have version 110 here, and that's what I programmed the err...
by Xeo786
30 Mar 2023, 19:14
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124777

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Hello Xeo786, I pulled down your latest version. Since then I have an error that the current tab is no longer recognised by Chrome. Only the window that is active at the start is recognised. If I change the tab, the first recognised window remains active. ; new if( this.name != "geckodriver" ) this...

Go to advanced search