mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
6 lines
148 B
Ruby
6 lines
148 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
Capybara.add_selector(:xpath, locator_type: [:to_xpath, String], raw_locator: true) do
|
||
|
xpath { |xpath| xpath }
|
||
|
end
|