Is it possible to run selenium RC tests with selenoid? - selenium-rc

Trying to fully move to selenoid, but we still have some legacy RC tests.

No, I don't think so. Selenoid only implements Selenium JSONWire and W3C Webdriver protocols. Selenium RC worked by injecting a browser extension and Selenoid has no such feature.

Related

Puppeteer-firefox headless mode does not support webgl

Puppeteer-firefox headless mode does not support webgl. What can I do in linux to make it work?
I do not know if the selenium firefox has the same problem, I think this is firefox side error.
Thanks
Yes, it's a not yet solved issue in Firefox. You can find details about its implementation status at https://bugzilla.mozilla.org/show_bug.cgi?id=1375585.
And please don't use the puppeteer-firefox package anymore. It has been deprecated. Experimental support for Firefox is included in the official puppeteer package.

Robot framework - Selenium Lib - Getting embedded browser from Outlook

My solution is using a special way to open a web page: we embedded chrome browser into outlook app.
Now I have to write automation test for it using robotframework.
I tried but selenium cannot detect that browser.
Any ideas are appreciated.
Thanks!
Because Selenium uses the Webdriver to start the browser, automating a browser that is not started using webdriver won't be supported.
Alternatives are to use AutoIT library, that automates your keyboard and mouse actions and focuses on windows. ImageHorizon Library and Sikuli Library use image pattern recognition and support both Windows and Linux.
If your target OS is Windows 10, then Microsoft WinAppDriver maybe of interest. This follows a similar approach as AutoIT, but from Microsoft. Does require the Python Appium application to be installed as well.
All approaches have the pro's and con's and in my view beyond the scope of this question.

"Bundle" selenium application with browser?

Basically I'm going to distribute my Selenium program to a number of clients for automation purposes.
Rather than asking every customer to have FireFox installed (and risking possibly incompatible versions) I would prefer if I could have FireFox (or whatever browser) packaged in my program directory (perhaps a portable version).
All my customers will be using Windows btw.
Anyone tried this or have any suggestions to how this could be accomplished?
EDIT: I suppose I could use PhantomJS with selenium and just package my software with the phantomjs driver. That would not require any external browsers to work, would it?
You have also HTMLUnit headless browser option. Please note that it has own proprietary JavaScript rendering engine so need ensure that your test also will work with the "regular" browsers.
Another option is to use Selenoid and Docker for Windows. Your customers could download easily removable images with browsers (no need to clutter Windows with browser files) and run your test suite in multiple containers in parallel.

Is it possible to use Ruby (not jRuby) frontend of the Selenium 2 (WebDriver) with HtmlUnit backend?

I want to use WebDriver on a server-side, without any browser or gui. It is possible with HtmlUnitDriver in a Java bindigns for WebDriver. But I like ruby more than java. Can I solve my problem with ruby bindings or I must use java bindings?
Since HtmlUnit is a Java library, you need Java at some point in your stack. If you want the tests to run on MRI, this can be done with the the Selenium Remote server (and the selenium-webdriver gem).
Instructions are here on the Selenium wiki.

Are there any good scriptable webpage rendering engines besides Selenium RC?

I like using Selenium RC for automating interaction with webpages that require JavaScript, except for the fact that it goes through launching an full instance of Firefox to run a script. Questions:
Is there a way to run Selenium RC so that it launches a headless version of Firefox that doesn't create a window? I'm using OS X. I know there is a way to do this using Xvfb on a Linux server, but I'm wondering how this would be done on OS X.
Is there any lighter weight alternative to Selenium RC? The tool would have to execute any JavaScript on a webpage and alter the DOM accordingly. I'm not too familiar with Spidermonkey; but can it be used for this purpose? Thanks.
There's a well supported Java one called HtmlUnit, which is completely headless - there is no GUI. It runs Javascript.
If you don't want to directly call Java, you can in theory run Selenium with HtmlUnit as its backend headlessly - I haven't got it to work yet though.
Also, you might find Selenium 2 better than Selenium RC. It has the WebDriver built in, and looks like it is going to be better and more complete.
Finally, you could run Selenium remotely on your own separate Linux server, and call it from the Mac remotely. Or you can use a service like Sauce Labs.

Resources