Automate CEF web page in child window

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Automate CEF web page in child window

Postby Prakash03 » Sun Nov 01, 2020 2:51 pm

Hi,
Am new to CEF automation. Recently i trying to automate CEF enabled web pages in child window.
Need to use winium driver to automate window based part and selenium for web based .
Currntly, i dont have the url for that cef embedded web page. May be some html pages has been embedded using cef.
Using winium i have launched the application and navigate to cef enabled web page.
In left panel i have menu section and right section has cef page. Now i need to automate that page using selenium.
Instead of passing url, i passed local host ip.and remote debugging port. It launches chrome browser.
Here i should not launch the browser.

I have referred many sites, how to automate using both selenium and winium. I didnt found proper solution.
https://bitbucket.org/chromiumembedded/ ... romeDriver
https://stackoverflow.com/questions/578 ... ing-winium
Can some one help me here.
How to link winium and selenium driver or How to pass the winium instance to selenium driver(CEF in right section of screen).

Thanks in advance.
Prakash03
Newbie
 
Posts: 1
Joined: Sun Nov 01, 2020 2:15 pm

Re: Automate CEF web page in child window

Postby magreenblatt » Sun Nov 01, 2020 4:45 pm

Chromium-based apps can be controlled using ChromeDriver. See https://bitbucket.org/chromiumembedded/ ... eDriver.md

If you wish to control native portions of your app with the same ChromeDriver connection then you will need to add JavaScript bindings. See https://bitbucket.org/chromiumembedded/ ... gration.md
magreenblatt
Site Admin
 
Posts: 12379
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 6 guests