C++ bindings

2,137 views
Skip to first unread message

Christian Comaschi

unread,
Sep 18, 2012, 6:15:16 AM9/18/12
to seleniu...@googlegroups.com
Hello,
I'm a developer and I'm working on an application that requires some
browser automation features. The application is written in C++.
Selenium Webdriver could be a reasonable solution, but unfortunately I
couldn't find any binding for C++.
In your opinion, what is the best solution for browser automation in C++?
Thanks in advance,
Christian

Krishnan Mahadevan

unread,
Sep 18, 2012, 9:11:36 AM9/18/12
to seleniu...@googlegroups.com
Christian,

I am afraid you would have to pick one of these : http://seleniumhq.org/about/platforms.html#programming-languages

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"





--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Jim Evans

unread,
Sep 18, 2012, 9:37:57 AM9/18/12
to seleniu...@googlegroups.com
You're right, there are no C++ bindings for WebDriver. Having said that, if you have a good HTTP client library and a good JSON parsing library in C++, it'd be pretty darn easy to write your own C++ bindings. Implementing a client for the JSON Wire Protocol as documented in the project wiki will get you a long way toward being able to use the existing drivers. I've used JsonCpp for the IE driver as a JSON parser. I can't speak to an HTTP client library though.

Christian Comaschi

unread,
Sep 18, 2012, 9:39:41 AM9/18/12
to seleniu...@googlegroups.com
Unfortunately, I can't pick one of those languages, because I have to add browser automation functionality to an already-existing application written in C++.
I read in Selenium docs that in Selenium-RC there was the possibility to start a server and to call its API using some kind of RPC protocol; is this functionality still available in Selenium 2.0? Are there any docs explaining how to do that?
I also found that Python and PHP bindings were implemented by third-parties; do you know of any docs explaining how to write a new binding for Selenium Webdriver?
Thanks,
Christian

Il 18/09/2012 15.11, Krishnan Mahadevan ha scritto:
Christian,

I am afraid you would have to pick one of these : http://seleniumhq.org/about/platforms.html#programming-languages

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"



On Tue, Sep 18, 2012 at 3:45 PM, Christian Comaschi <ccom...@intesigroup.com> wrote:
Hello,
I'm a developer and I'm working on an application that requires some browser automation features. The application is written in C++.
Selenium Webdriver could be a reasonable solution, but unfortunately I couldn't find any binding for C++.
In your opinion, what is the best solution for browser automation in C++?
Thanks in advance,
Christian


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.

Christian Comaschi

unread,
Sep 18, 2012, 9:41:57 AM9/18/12
to seleniu...@googlegroups.com
Ok, I'll look in the wiki, thanks!

David

unread,
May 31, 2014, 11:29:45 PM5/31/14
to seleniu...@googlegroups.com, ccom...@intesigroup.com
Any updates on this since Christian?
Reply all
Reply to author
Forward
0 new messages