• Use Cases
    • Technical
    • Digital
    • eCommerce
    • Travel
    • Gambling
    • Public Sector
    • Enterprise
    • Small/Medium
    • Agencies
    • RapidSpike VS New Relic
  • Platform
    • PerformanceImprove page speed and conversions.
    • SecurityStop hackers and find vulnerabilities.
    • ReliabilityTrack errors and issues, get alerts.
    • How It WorksA quick overview of the platform.
  • Customers
  • Learn
    • About UsWe help make the web faster, safer and easier to use.
    • Knowledge BaseWe aim to answer your most frequently asked questions.
    • From The BlogGet to know feature development, monitoring tips and even the RapidSpike team.
      • Why should you use Single Sign-On?
      • The Online Travel Landscape
      • The ultimate guide to website monitoring solutions
  • Pricing
  • Log In
  • Get Started
  • Use Cases
    • Technical
    • Digital
    • eCommerce
    • Travel
    • Gambling
    • Public Sector
    • Enterprise
    • Small/Medium
    • Agencies
    • RapidSpike VS New Relic
  • Platform
    • PerformanceImprove page speed and conversions.
    • SecurityStop hackers and find vulnerabilities.
    • ReliabilityTrack errors and issues, get alerts.
    • How It WorksA quick overview of the platform.
  • Customers
  • Learn
    • About UsWe help make the web faster, safer and easier to use.
    • Knowledge BaseWe aim to answer your most frequently asked questions.
    • From The BlogGet to know feature development, monitoring tips and even the RapidSpike team.
      • Why should you use Single Sign-On?
      • The Online Travel Landscape
      • The ultimate guide to website monitoring solutions
  • Pricing
  • Log In
  • Get Started

Back to Knowledgebase

Categories

Account & Billing

Getting Started

Performance Monitoring

Alerts & Notifications

Uptime Monitoring

Security Monitoring

Synthetic User Journey Monitoring

Interpreting Data

Assurance and Search

Other Articles

Action: ApiCall

Action: CheckCookie

Action: Alert

Action: Dropdown

Action: ClickCoordinates

Action: PageSource

Action: SwitchToIframe

The ‘SwitchToIframe’ action is essential when encountering IFrames on your site. If you aren’t familiar with this, an Iframe is essentially a HTML document embedded inside another HTML document on a website. Common examples for when you might encounter an Iframe are through advertisements and payment input fields.

Once you have identified the Iframe, you firstly have to find the ID, Class or identifier to make sure you are entering the right element. Enter the selector into the ‘SwitchToIframe’ action and then proceed with the interaction you want to perform within that Iframe.

Here is an example using the ‘Iframe’ within a journey:

As you can see, the journey clicks onto the payment page and enters the Iframe to enter a card number within the input field. It is worth noting that once you have performed the action you have to make sure to exit the Iframe you have entered. If the ‘SwitchToDefault’ isn’t added immediately after the action, the journey will likely fail. Here is a link to the documentation on SwitchToDefault.

Start your free 30-day trial today

No credit card required.

GET STARTED

RapidSpike - Global eCommerce Winner 2021
RapidSpike - Northern Digital Awards Winners
RapidSpike - Insider Yorkshires Most Exciting Companies
RapidSpike - UK Dev Awards 2021 Winner
RapidSpike - Prolific North Top Tech 30 To Watch
RapidSpike - Cyber Accelerator Alumni

Copyright © 2022 — All Rights Reserved.

RapidSpike - AWS Well Architected
RapidSpike - AWS Partner Network
  • Solutions
    • Technical
    • Digital
    • eCommerce
    • Travel
    • Gambling
    • Public Sector
    • Enterprise
    • Small/Medium
    • Agencies
    • New Relic
    • Customers
    • Pricing
  • Platform
    • Performance
    • Security
    • Reliability
    • How It Works
    • Insights
    • Alerting & Integrations
    • All Features
    • Synthetic User Journeys
    • Google Lighthouse
    • Core Web Vitals & Performance
    • Webpage Test
    • Real User Monitoring
    • Vulnerability Scanning
    • Magecart Attack Detection
    • Uptime
    • Assurance & SEO
  • Learn
    • Blog
    • Knowledge Base
    • API Documentation
    • System Status
    • RapidSpike Roadmap
    • Log In
  • Company
    • About Us
    • Contact
    • Careers
    • Press
    • Privacy Policy
    • Terms & Conditions
    • Vulnerability Disclosure