ChromeDriver/Selenium with (J)Cef

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

ChromeDriver/Selenium with (J)Cef

Postby edominic » Mon Jun 22, 2015 8:23 am

Hey ;)
I already read through some threads in this forum and also read instruction on bitbucket, but I can't get it to work respectively I don't know how to do it.

Some information:
- Mac 10.10.3 with jdk 1.8.0.45
- (J)Cef 3.2171
- IDE IntelliJ

- downloaded selenium standalone server
- downloaded latest chromedriver

At first I have to say, that (chromium/cef) command-line parameter not working with our application. The only way to set remote debug port is with hardcoding (atm it is set to 5555).
So, how can I get this to work? :/
If I start our application, the browser module is starting after some initialization work in a new process (yes, new process) where jcef lifes in and navigate to a intern page.

So, what I need is that our application will be started, then wait some short time and then starts tests. (No need to navigate to a page)

Is there a way for it?

Thanks :)
edominic
Mentor
 
Posts: 82
Joined: Fri Mar 13, 2015 6:46 am

Re: ChromeDriver/Selenium with (J)Cef

Postby edominic » Tue Jun 23, 2015 8:39 am

Update:
tried with cef binary for macosx -> works fine
tried with jcef binary for macosx -> doesn't work
edominic
Mentor
 
Posts: 82
Joined: Fri Mar 13, 2015 6:46 am

Re: ChromeDriver/Selenium with (J)Cef

Postby edominic » Thu Jun 25, 2015 5:43 am

#push...

Come on... Nobody?
edominic
Mentor
 
Posts: 82
Joined: Fri Mar 13, 2015 6:46 am

Re: ChromeDriver/Selenium with (J)Cef

Postby Czarek » Sat Jun 27, 2015 10:35 am

edominic wrote:#push...

Come on... Nobody?

Are you using example code from this page? https://bitbucket.org/chromiumembedded/ ... eDriver.md
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: ChromeDriver/Selenium with (J)Cef

Postby edominic » Sun Jun 28, 2015 9:34 am

Jepp

This tutorial was made for/with cef (not jcef).
For me, it only works with cef and not with jcef :/
edominic
Mentor
 
Posts: 82
Joined: Fri Mar 13, 2015 6:46 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 36 guests