Hi,
@src="<frame src="https://url.com/text.asp?p=xyz&q=abc"></frame>"
puts @src.scan(%r{q=(.*?)">}im).flatten.to_s
Try this and let me know ..
Thanks
On Tue, Aug 18, 2009 at 10:25 AM, Marlon <[email protected]> wrote:
>
> Hi, please help, how can I get the url parameter value? I want to get
> the value of "q" which is "abc". How can I print that? The html looks
> like the given below
>
> <frame src="https://url.com/text.asp?p=xyz&q=abc"></frame>
>
>
> Thanks
>
>
>
> >
>
--
Regards,
P.Raveendran
http://raveendran.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---