How can I click on a google map with capybara to create a marker -
i have google map on page. user's can click on map , drop marker @ point. how can simulate in capybara? doesn't matter click long it's somewhere on map.
i think can use actionbuilder if use selenium driver. like:
within_frame(locator_of_frame_with_map) map = find(locator_of_map).native page.driver.browser.action.move_to(map, x, y).click.perform end
code above draft. can't provide working code without demo.
capybara doesn't have cross-driver api clicking @ specific coordinates.
Comments
Post a Comment