Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6158587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:58:55+00:00 2026-05-23T20:58:55+00:00

I have an HTML element: <iframe marginheight=0 marginwidth=0 frameborder=0 height=100 width=400 src=/website/authorisation.jsp?a=f556> </iframe> I

  • 0

I have an HTML element:

<iframe marginheight=0 marginwidth=0 frameborder=0 height=100 width=400 src="/website/authorisation.jsp?a=f556">
    </iframe>

I want to retrieve the code src of the element. How does one do that please? I have been looking around and the only answer I see is to tokenize the element but there is no mention of how you use the tokenizer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:58:56+00:00Added an answer on May 23, 2026 at 8:58 pm

    If you are using the latest watir-webdriver gem and you open HTML page that contains only

    <iframe marginheight=0 marginwidth=0 frameborder=0 height=100 width=400 src="/website/authorisation.jsp?a=f556"></iframe>
    

    you can get the value of src attribute with

    browser.frame.src
    

    It will return "file:///website/authorisation.jsp?a=f556".

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have something like this: <p>Element<p> <iframe src = otherPage.html style = width:100%;height:100%>
I have this piece of HTML: <div class=embed> <iframe width=300 height=200 frameborder=0 allowfullscreen= src=http://www.youtube.com/embed/123456></iframe>
Let's imagine that I have something like this: <html> ... <div> <iframe src=test.html hash=r4d5f7></iframe>
I have HTML page with some HTML element with ID=logo . I need to
I have an HTML element with a large collection of unordered lists contained within
I have a html element (like select box input field) in a table. Now
I have an HTML textarea element. I want to prevent a user from entering
When you set an html element to have display: none , the content inside
I have a via with some jQuery function to get value from HTML element
Does the HTML select element have an on select event? what exactly is the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.