mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
Merge pull request #777 from oieioi/typo-fix
Fix typo `noSuchWindowError` -> `NoSuchWindowError`
This commit is contained in:
commit
387db1c412
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ module Capybara::Poltergeist
|
|||
return locator if window_handles.include? locator
|
||||
|
||||
handle = command 'window_handle', locator
|
||||
raise noSuchWindowError unless handle
|
||||
raise NoSuchWindowError unless handle
|
||||
return handle
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue