How would you manually assert that the page has been loaded? If you are waiting
for something on a loaded page, make an assertion on that element.
What are your reasons to know that the page has been loaded?
On 30 Aug 2011, at 18:37, byung wrote:
> I made below code:
>
> require 'watir'
>
> ie = Watir::IE.start("www.testsite.com")
>
> file = File.open("c:/test.txt", "a")
>
>
> while(ie.status != "Done") do
>
>
>
> file.puts ie.url()
>
>
> end
>
> file.close
>
>
> and I got below error message:
>
> 'method_missing'; statusText <WIN32OLERuntimeError>
>
>
>
> On Aug 30, 10:22 am, George <[email protected]> wrote:
>> This thread may answer your question:
>>
>> http://bit.ly/nW5Acu
>>
>> On Aug 29, 6:52 pm, byung <[email protected]> wrote:
>>
>>
>>
>>> is there a way to check whether a new page has been loaded in WATIR??
>>
>>> could anyone tell me a way to check new page load in WATIR??
>>
>>> thanks.- Hide quoted text -
>>
>> - Show quoted text -
>
> --
> Before posting, please read http://watir.com/support. In short: search before
> you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
Regards,
Rahul Sharma
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]