pydoll
pydoll copied to clipboard
Browser.WindowID wasn't found
I tried to reproduce a basic example and it works fine up to the point where I try to maximize the browser window, I'm using Linux Ubuntu and Chrome Version 134.0.6998.35 (official build) 64-bit. The bug seems to be in getting the window ID, which seems to be an experimental feature of Chrome, not available for this version or maybe it's another issue. I decided to open this issue to start investigating this problem.
I'm working on an alternative to get around this issue.
Hi @cleitonleonel, thanks for reporting this issue. You can check the CDP documentation:
https://chromedevtools.github.io/devtools-protocol/tot/Browser/
If you need any help, just add a comment
Hi @cleitonleonel, thanks for reporting this issue. You can check the CDP documentation:
https://chromedevtools.github.io/devtools-protocol/tot/Browser/
If you need any help, just add a comment
I can confirm that with these changes to the get_window_id method;
And implementing a get_window_id_by_target method in the module in the BrowserCommands class;
As well as defining a new constant GET_WINDOW_ID_BY_TARGET, it is now working fine for me.
Nice, feel free to open a PR, I'll review as soon as possible :) May I assign this issue to you?
Nice, feel free to open a PR, I'll review as soon as possible :) May I assign this issue to you?
Ok, no problem.