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

Added :url locator to get url of current page #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

milanito
Copy link

Description

This PR is supposed to solve #64 by adding a :url locator. it can be used from a :follow or the root page

I have also added a rescue on the follow page to not crash when a follow is not working (404 mostly)

Here is an example of usage

data config[:list_selectors][:link], :follow do
    title 'css=h1'
    url :url
  end
end

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.

1 participant