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 new examples in getting started #364

Merged
merged 3 commits into from
Jun 15, 2022

Conversation

kidd
Copy link
Contributor

@kidd kidd commented May 9, 2021

Thanks for this project! Seems super useful!

I added a couple of use cases and function usages that were not shown in the readme.
Also, an important use case to me was to do a bit more sophisticated querying. I added the examples in the readme:

If there's a smarter way to accomplish that, I'm happy to change it if you show me the way :)

Showcasing get-element-text, children, child,
get-element-text-el and some non-trivial querying for content.

Showcasing `get-element-text`, `children`, `child`,
`get-element-text-el` and some non-trivial querying for content.
@lread
Copy link
Collaborator

lread commented May 11, 2022

Hiya @kidd, thanks, we'll take a look at this sometime!
Currently ramping up, but will swing back to this one after that.

@lread
Copy link
Collaborator

lread commented Jun 15, 2022

Thanks @kidd, I had a look and like it!

At first I was a little worried that Wikipedia HTML might have since changed, but I guess it is pretty static!

The doc structure has changed, and it has been over a year since you contributed this, so I'll handle the merge conflicts.

Please don't be offended if I make some minor changes.

Thanks for your contribution!

lread added 2 commits June 15, 2022 16:52
* master: (94 commits)
  Switch with-exception from private to no-doc (clj-commons#457)
  API review: docstrings, arglists, publics (clj-commons#456)
  User guide and usage related updates (clj-commons#454)
  docs: changelog [skip ci]
  docs: README: update contributors [skip ci]
  Add note about new tabs/windows to Troubleshooting (clj-commons#452) [skip ci]
  Review and update Dockerfile (clj-commons#451)
  lint: tweak .gitignore [skip ci]
  lint: abandon idea of linting clj-kondo hooks
  lint: lint clj-kondo hooks code too
  lint: update dev guide
  lint: distinguish internal hooks from imports
  lint: bump clj-kondo
  lint: Use bb's (clojure) instead of shelling out
  Add clj-kondo export config
  Update: cheshire 5.11.0 was just released
  Bump dependencies to current releases
  docs: update changelog [skip ci]
  docs: add Dave Yarwood to contributors [skip ci]
  Move `effectively-displayed?` docstring to the public `displayed-el?` function
  ...
@kidd kidd requested review from lread, borkdude and slipset as code owners June 15, 2022 21:00
@lread lread removed request for borkdude, slipset and lread June 15, 2022 21:02
@lread lread merged commit 7275f91 into clj-commons:master Jun 15, 2022
lread added a commit to verma/etaoin that referenced this pull request Jun 16, 2022
Ya I see it:
- running? and wait-running very likely don't mean much for for a remote hosted
  WebDriver service as they only check the host and port for reachability.
  We could extract host and port from a the webdriver-url but checking
  that we can open a socket on port 443 for chrome.browserless.io
  doesn't say much about WebDriver service running at
  https://chrome.browserless.io/webdriver.

Minor changes:
- documented in user guide
- added a test
- minor strategy change around wait-running
- check :webdriver-url for nil rather than via str/blank? (for
  consistency with other options)

* master: (97 commits)
  docs: changelog [skip ci]
  Add new examples in getting started (clj-commons#364)
  Switch with-exception from private to no-doc (clj-commons#457)
  API review: docstrings, arglists, publics (clj-commons#456)
  User guide and usage related updates (clj-commons#454)
  docs: changelog [skip ci]
  docs: README: update contributors [skip ci]
  Add note about new tabs/windows to Troubleshooting (clj-commons#452) [skip ci]
  Review and update Dockerfile (clj-commons#451)
  lint: tweak .gitignore [skip ci]
  lint: abandon idea of linting clj-kondo hooks
  lint: lint clj-kondo hooks code too
  lint: update dev guide
  lint: distinguish internal hooks from imports
  lint: bump clj-kondo
  lint: Use bb's (clojure) instead of shelling out
  Add clj-kondo export config
  Update: cheshire 5.11.0 was just released
  Bump dependencies to current releases
  docs: update changelog [skip ci]
  ...
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.

2 participants