HTML5 Drag and Drop using Selenium Webdriver for Ruby

前端 未结 3 539
心在旅途
心在旅途 2020-12-18 03:32

Are there any work arounds to getting HTML5 Drag and Drop working with Selenium Webdriver with Ruby? I am using Selenium-Webdriver 2.20.0 with Ruby 1.9.2

Here is a

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-18 04:18

    This is still a bug in Selenium, so the JavaScript workaround noted above is a good one.

    I built an example HTML drag and drop page and wrote a test to exercise it using the drag_and_drop_helper.js gist Ryan provided. You can see my full write-up here.

    Cheers,
    Dave H
    @TourDeDave

提交回复
热议问题