no error, but using when i puts the url, it outputs an empty string. for example
b = FireWatir::Firefox.start(url) puts b.url => ''an empty string outputs. I have got another problem when using firewaitr there is a button on the page, after click it, an js alert will be shown. i use the following code to handle it. button = b.button(:id, 'xxxx') button.click puts 'xxx' handle_js puts 'done' but when the button was clicked, the whole script was holding, maybe waiting for the pop up... then i used click_no_wait instead, but it did not work. How can i handle this satuasion? 2010/12/14 abhirevo1 <[email protected]> > What error you are getting? > > On Tue, Dec 14, 2010 at 6:54 AM, Ekin Han <[email protected]> wrote: > >> Hi friends, >> >> When i using firewatir i found that i can not using the url api to get the >> href of a page. >> >> The version of firewatir is 1.6.5. >> >> Is there any suggestions about this? >> >> -- >> 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]<watir-general%[email protected]> >> > > -- > 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]<watir-general%[email protected]> > -- 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]
