- Sep 09, 2020
-
-
This feature does not modify the API of BrowserSelenium. To use a remote driver, a config Value 'remote_driver_url' must be set. If this value is not set the previous behavior is used, instantiating a local web driver. The remote driver capabilites are built according to the module configuration.
-
- Apr 22, 2020
-
-
Recently, geckodriver file logs were disabled, so they are output on stdout, which breaks apps relying on stdout containing only weboob output. Some code for outputting file logs in responses folder or in $TMPDIR was already written for phantomjs, let's just reuse it for other drivers.
-
- Apr 08, 2020
-
-
- Mar 05, 2020
-
-
- Takes in params as None (no params) or as a dict or list<tuple> - Will append the specified params to the url's existing params
-
Closes: 60283@sibi
-
And it was removed in recent selenium versions.
-
This allows to customise the behavior of the browser.
-
-
- Jan 30, 2020
-
-
When using proxies with selenium (eg: https_proxy=... boobank ...) it crashed with the error: Specified proxy type ({'ff_value': 1, 'string': 'MANUAL'}) not compatible with current setting ({'ff_value': 0, 'string': 'DIRECT'})
-
- Jan 08, 2020
-
-
We set the default value of selenium logger to ERROR to avoid spamming logs with useless information. Also, the data we send to the browser using selenium (with send_keys) can be displayed clearly in the log, if the log level is set to DEBUG.
-
- Oct 27, 2019
-
-
hydrargyrum authored
-
- Oct 01, 2019
-
-
To wait for an element to disappear.
-
- Jul 05, 2019
-
-
- Feb 24, 2019
-
-
Romain Bignon authored
-
- Dec 17, 2018
-
-
- Nov 10, 2018
-
-
-
All Page classes have a logger, mimic it.
-
- Aug 18, 2018
-
-
-
This can be useful for responsive sites.
-
- Jun 09, 2018
-
-
-
It may be executed multiple times per source page though. Since property "page" will generate a Page object on every access. It should be idempotent then.
-
Since pages can have a lot of javascript, URL change does not reflect when page changed. Use full page_source instead, and save when browser.page attribute is used. Requests can't be saved. page_source contains inline images which can be heavy, so support a configurable size quota.
-
By default, phantomjs might log in current dir. Use a temp path or responses_dirname if available.
-
- May 05, 2018
-
-
Warning: it doesn't seem to work on Firefox or PhantomJS. It has a restriction: operation is done per domain.
-
Selenium treats frames and iframes in a different way. One has to "switch to" a frame before being able to interact with the frame. Then, one must go out of it. Add a context manager to limit block scope and also a condition wrapper.
-
Weboob modules can thus set their own settings
-
- Apr 15, 2018
-
-
This keeps compatibility with standard weboob browsers, required for URL class.
-
- Mar 31, 2018
-
-
Contains SeleniumBrowser, SeleniumPage
-