dunossauro / tigre

Tigre is a helper to always call the correct webdriver
MIT License
42 stars 9 forks source link

[Remote] Add Edge remote webdriver support #11

Open dunossauro opened 4 years ago

dunossauro commented 4 years ago

tigre.remote only support Linux/Mac version of browsers.

This issue is related to create a Edge support.

How to do this?

First you need start a hub or grid in your machine. (I recommends docker-selenium grid image.)

And create a class edge on tigre/remote/webdrivers.py and add {'browserName': 'egde'}.

Dynamic importing

The tigre/remote/__init__.py has a regex on __getitem__ and they not support edge yet. You need add edge's string on then.

Testing

If you add a new class, don't forgot testing dynamic and static import and default caps.

rvmoura96 commented 4 years ago

I can try this one.