Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a callback cb_selenium #69

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

nfk
Copy link

@nfk nfk commented Jul 22, 2020

This patch introduces 2 news parameters cb_selenium and cb_selenium_kwargs. The purpose of the selenium callback is to init the webpage like the scraper wants. In this callback you can use the webdriver to perform some actions and wait a expected page state.

nfk added 2 commits July 23, 2020 00:02
`driver_arguments` is a list. With this patch, if `SELENIUM_DRIVER_ARGUMENTS`
is unset the default value is an empty list instead of `None`.
This patch introduces 2 news parameters `cb_selenium` and `cb_selenium_kwargs`.
The purpose of the selenium callback is to init the webpage like the
scraper wants. In this callback you can use the webdriver to perform some
actions and wait a expected page state.

Refs: clemfromspace#24, clemfromspace#39
@nfk nfk force-pushed the nfk/cb_selenium branch 2 times, most recently from 2f5d3bd to 9989ad8 Compare July 22, 2020 22:58
```
twisted 20.3.0 has requirement attrs>=19.2.0, but you'll have attrs 18.2.0 which is incompatible
```

This patch updates python requirements to try to fix the travis CI.
coverage<4.4
pytest-cov==2.4.0
pytest>=3.4.0
pytest-cov>=2.4.0
codeclimate-test-reporter==0.2.3
Copy link
Author

@nfk nfk Jul 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main issue is here, the project should move to https://github.com/codeclimate/test-reporter. The python version is deprecated. Whatever that dependencies order fixes the CI.

@psdon
Copy link

psdon commented Feb 23, 2021

any updates on this PR?

@zjonejj
Copy link

zjonejj commented Mar 18, 2021

Hei, what should i do, if i want to add some feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants