mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
e0172bfcd9
This adds support for the full Capybara 2.3.0 API. There are two known incompatibilities: * Selenium supports outerWidth and outerHeight, which we cannot, because we dont' have an actual OS window. * Selenium raises errors after interacting with a closed window. We focus the next available window after closing. This commit adds the following: * Implement Driver#close_window * Implement Driver#current_window_handle * Implement Driver#maximize_window * Implement Driver#open_new_window * Implement Driver#no_such_window_error * Implement Driver#resize_window_to * Implement Driver#switch_to_window * Implement Driver#window_size * Implement Driver#go_back * Implement Driver#go_forward * Support change events when clearing a text input * Support setting contentEditable elements * Support window.close() in JavaScript * Don't return text from hidden elements * Skip Capybara specs which use outerWidth, outerHeight * Don't use Qt object ownership to manage windows
27 lines
277 B
Text
27 lines
277 B
Text
*.swp
|
|
bin/webkit_server*
|
|
test/testwebkitserver
|
|
*.swo
|
|
*~
|
|
*.o
|
|
*.moc
|
|
Makefile*
|
|
qrc_*
|
|
*.xcodeproj
|
|
*.app
|
|
moc_*.cpp
|
|
.bundle
|
|
pkg
|
|
src/webkit_server
|
|
src/webkit_server.exe
|
|
.DS_Store
|
|
tmp
|
|
.rvmrc
|
|
src/debug
|
|
webkit_server.pro.user
|
|
.vagrant
|
|
*.gch
|
|
.ruby-version
|
|
.ruby-gemset
|
|
.idea
|
|
.qmake.stash
|