dunossauro / tigre

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

Tigre core capabilities supported #26

Open dunossauro opened 4 years ago

dunossauro commented 4 years ago

W3C has a table with default capabilities: https://w3c.github.io/webdriver/#capabilities

Selenium docs have another opinion about that: https://www.selenium.dev/documentation/en/driver_idiosyncrasies/shared_capabilities/

IMHO we need support in version 1.0 only this, proxy is a bonus, but it is very important. I think that proxy can be supported only in version >1.0

Capability tool key Tigre equivalent type function
Browser name "browserName" [import defitinion]() string Identifies the user agent.
Browser version "browserVersion" .version(int) [import defitinion]() string or int Identifies the version of the user agent.
Accept insecure TLS certificates "acceptInsecureCerts" .insecure(bool) boolean Indicates whether untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
Page load strategy "pageLoadStrategy" .strategy(str) str Defines the current session’s page load strategy.
Proxy configuration "proxy" .proxy(ProxyObject) ProxyObject Defines the current session’s proxy configuration.
dunossauro commented 4 years ago

Related to #25