Search found 34 matches

by hotcheesesoup
07 Nov 2022, 01:01
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

why do you keep doing ActiveTab() 16 ms :?: Basically within the timer I'm using InsertAdjacentHTML to insert buttons and data into the page, hide unnecessary fields/buttons, update CSS, etc. When clicked, the buttons toggle a variable to 1, and AHK is acting like an EventListener. It can then run ...
by hotcheesesoup
07 Nov 2022, 00:05
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.2 (no selenium/websocket)

Xeo786 The second Chromedriver.exe appears when attempting to close my active tab when other tabs exist, maybe 10-20% of the time it will close itself, and without doing anything different. I'm not telling Rufaydium to create a new one. I only do that one time when I start the script. I thought per...
by hotcheesesoup
05 Nov 2022, 19:57
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.1 (no selenium/websocket)

Yeah I notice that after the driver update, Before, when we close any chrome tab, using Session.close() it closes it then returns with the window ID of the active tab, But now it returns with an array of all the tabs window ID, and now it's up to us to choose which window we want to switch, and I n...
by hotcheesesoup
31 Oct 2022, 01:08
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.1 (no selenium/websocket)

OK cool! Looking forward to the next update then!

I swear it was running fine until Chromedriver updated last week. Now it is kind of wonky.
by hotcheesesoup
27 Oct 2022, 19:47
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.1 (no selenium/websocket)

@Xeo786

Would it be possible to prevent Chromedriver from closing when I close the active tab, but I have multiple tabs open?

Could it instead activate the next tab in the stack, or activate ANY existing tab in the Session instead of immediately closing?

Thanks!
-HCS
by hotcheesesoup
23 Aug 2022, 13:53
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.0 (no selenium/websocket)

I have a new user starting to use my Rufaydium-based tools. She is on a totally fresh install of Windows 11, and I believe she has 64-bit Chrome installed since it isn't under Program Files (x86). When I run the script, I don't receive any prompt that it is working, and a new Chrome window doesn't s...
by hotcheesesoup
08 Aug 2022, 00:44
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.0 (no selenium/websocket)

I am using a timer to constantly poll Chrome to always make sure I'm interacting with the active tab. This works great almost all of the time, but it has issues when it comes to alerts generated by the page. The alerts will be automatically closed as if they were cancelled, versus as if they were a...
by hotcheesesoup
06 Aug 2022, 01:40
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.0 (no selenium/websocket)

I am using a timer to constantly poll Chrome to always make sure I'm interacting with the active tab. This works great almost all of the time, but it has issues when it comes to alerts generated by the page. The alerts will be automatically closed as if they were cancelled, versus as if they were ac...
by hotcheesesoup
19 Jul 2022, 11:14
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.0 (no selenium/websocket)

Xeo786 Here's an example of the JSON payload I'm injecting into a hidden "ClientState" field. Typically the value of the hidden field doesn't even show up until you focus the Input field and physically type text into it. hiddenValue = {"logEntries":[],"value":"15","text":"Pending","enabled":true,"c...
by hotcheesesoup
19 Jul 2022, 09:21
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.7.0 (no selenium/websocket)

@Xeo786
Very cool! I'll have to check this out. The site we use at work has hidden fields that require injecting a JSON object, so it's really a pain to automate them. Maybe sending keystrokes instead would get around that limitation.
by hotcheesesoup
04 Jul 2022, 17:00
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.3 (no selenium/websocket)

Milchmann I can't get that to work, so I'm probably doing something wrong on my end. Not a big deal at all. Thanks for trying! Xeo786 Just tested it out and it works great! Seems very similar to Milchmann's solution. It has the same issue of activating the new tab, but I'm thinking this is a byprod...
by hotcheesesoup
02 Jul 2022, 14:57
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.3 (no selenium/websocket)

@Milchmann
When opening a new tab, it will automatically make the new tab the active tab. Typically, middle-clicking a link opens a new tab without activating it.

Can you think of a way to make it behave like that? Not the end of the world, but would be helpful!

Thanks!
by hotcheesesoup
02 Jul 2022, 14:44
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.3 (no selenium/websocket)

Milchmann Oh wow, it took a few minutes for me to get it going (it didn't like having an existing Chromedriver running for whatever reason), but this is very cool! It doesn't flicker when grabbing the tab like my other method. I am using a timer to constantly update the current tab so it is always ...
by hotcheesesoup
02 Jul 2022, 09:30
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.3 (no selenium/websocket)

Milchmann Does this work without having to move through each tab? I'm using a different method and it is a bit flickery whenever I change tabs since it has to compare the URL. Not a huge deal but something cleaner would be better for sure. I was trying to use the cdwindow to find them, but couldn't...
by hotcheesesoup
26 May 2022, 22:28
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.0 (no selenium/websocket)

ffalcon What do you mean by "clickable"? I haven't used Selenium so that might be something specific to that. Do you mean a disabled element like a grayed out button that will be enabled so you can click it? Maybe you're just waiting for an element to exist so you can click it? I've had good succes...
by hotcheesesoup
25 May 2022, 00:19
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.0 (no selenium/websocket)

Milchmann - I tested this out with just normal Javascript and got values. I like doing it this way since I guess I'm used to it after messing with Chrome.ahk so much. Chrome := new Rufaydium("chromedriver.exe") Session := Chrome.getSession(1) Session.CDP.Document() MsgBox, % Session.CDP.Evaluate("d...
by hotcheesesoup
23 May 2022, 23:42
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.0 (no selenium/websocket)

@Milchmann
Sorry, I didn't get the notification for this for some reason.

I've just been using Javascript with Session.CDP.Evaluate() instead of the Rufaydium ones and it's been working well.

I'll test it out tomorrow and let you know!
by hotcheesesoup
21 May 2022, 19:00
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.0 (no selenium/websocket)

@Xeo786
@globalzen
Well, I changed nothing and it started working again. No clue what changed.
by hotcheesesoup
21 May 2022, 18:46
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 613
Views: 126321

Re: Rufaydium WebDriver 1.6.0 (no selenium/websocket)

Xeo786 - I can't seem to get it to work with Chrome now, even manually adding the chromedriver.exe won't work. Manually adding msedgedriver.exe DID work though. --------------------------- Rufaydium WebDriver Support --------------------------- session not created: No matching capabilities found Pl...

Go to advanced search