Displaying 1 result from an estimated 1 matches for "window_titl".
Did you mean:
window_title
2007 Apr 24
0
how to capture text from a popup window..in watir
...-----
require ''win32ole''
require ''test/unit''
require ''test/unit/ui/console/testrunner''
#
# Use AutoIt to read and close Javascript dialog windows
#
module JavascriptDialog
#
# Target javascript dialogs with this window title
#
WINDOW_TITLE = "Microsoft Internet Explorer"
class << self
#
# Return the text contained in a javascript dialog (e.g. an "alert()")
# if such a dialog is present or appears within +wait_seconds+.
#
def text(wait_seconds = 1)...