Resources for creating bindings for a new language?

39 views
Skip to first unread message

Christopher Guess

unread,
Aug 21, 2025, 1:20:37 AMAug 21
to Selenium Users
Hello everyone,

I have been a Selenium user for over six years, and it has been enormously useful for many projects, and my career. I am currently working for a new company that is hoping to leverage Selenium as well. However, internally, we use a custom programming language that does not (obviously) have bindings for Selenium. 

We do have tooling to adapt C/C++ code automatically, however, the C++ bindings seem to be only targeting IE, so that doesn't seem like a good place to start and my thoughts are that it would be better to start from scratch. I've been looking for a long time and there doesn't seem to be much, or really any, documentation on writing bindings, so I'm asking if there's anything I missed?

While I can use the current implementations as a base, they're obviously extremely mature and I'm hoping to create a PoC first which the current structures make quite hard to reverse engineer, and if there's documentation that would make my life much easier.

If there are any document sets could someone point me towards them?

Thanks!

-Chris

Krishnan Mahadevan

unread,
Aug 21, 2025, 1:54:58 AMAug 21
to seleniu...@googlegroups.com
Chris

All of the existing selenium client bindings adhere to the Selenium w3c specifications. 

For e.g., here’s a shell script client for selenium that someone built 

But I would be curious to know what are the challenges if you were to use a standard programming language ( java, python, javascript) for writing your tests?

I understand that you would want to keep the tech stack the same and thats why you are looking to build a custom client binding here but I feel that its going to be a lot of work. You might instead use one of the existing client bindings for your tests. 


Thanks & Regards
Krishnan Mahadevan

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

From: seleniu...@googlegroups.com <seleniu...@googlegroups.com> on behalf of Christopher Guess <chris...@guesswork.cc>
Sent: Wednesday, August 20, 2025 8:28:55 PM
To: Selenium Users <seleniu...@googlegroups.com>
Subject: [selenium-users] Resources for creating bindings for a new language?
 
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/selenium-users/517a226c-5e51-4b9d-bfd0-c62e23a0ace1n%40googlegroups.com.

Christopher Guess

unread,
Aug 21, 2025, 2:55:54 PMAug 21
to seleniu...@googlegroups.com
Krishnan,

Thank you for this, it’s what I needed.

I understand the concerns around writing a new binding, but I’m also using this as a test to better understand the language myself. We’ll see if we use it at all, but it’s a good place to start.

Thank you again for the guidance!

-Chris

-Christopher Guess
Guesswork, Inc.
chris...@guesswork.cc
US/WhatsApp/Signal: +1 262.893.1037

You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/AO0PE2H5Fng/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/selenium-users/SEZPR04MB74573BC16A077A85273059B4F232A%40SEZPR04MB7457.apcprd04.prod.outlook.com.

Reply all
Reply to author
Forward
0 new messages