Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run selenium in google app engine/cloud?

I would like to conduct selenium scripts remotely in the cloud or online and have been told that google app engine is one possibility.

Any help would be appreciated to how to run scripts on google app engine or on the cloud.

Any other ideas how to run scripts online would also be welcome.

like image 591
user2985043 Avatar asked Oct 28 '25 03:10

user2985043


2 Answers

Google App Engine is not a realistic possibility for this because it does not support creating threads and it does not support native code. Browsers need both.

like image 159
Robin Green Avatar answered Oct 29 '25 20:10

Robin Green


Google earlier didn't provide any functionality to support custom based App Engine, it was very much sandboxed which was restricting multitude possibilities of the App Engine. But now it has been provided by Google - https://cloud.google.com/appengine/docs/flexible/custom-runtimes/.

With this functionality Alex has posted a solution - Python Headless Browser for GAE

like image 39
Abhishek Gupta Avatar answered Oct 29 '25 19:10

Abhishek Gupta