Current time: 11-30-2020, 11:43 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iframe cross domain issue
09-02-2014, 01:38 AM
Post: #3
RE: iframe cross domain issue
Thanks Pat, following code works:

Code:
combineSteps
navigate    http://www.thomascook.com/holidays/city-breaks/
execAndWait    document.querySelector("[src='http://ww7.thomascook.com/city-breaks/Iframe.html']").contentWindow.document.getElementsByClassName('custom-select-option')[3].click()
execAndWait    document.querySelector("[src='http://ww7.thomascook.com/city-breaks/Iframe.html']").contentWindow.document.querySelector("[name='airport_selection_panel:arrivalPointContainer:arrivalAirportPanel:inputFra​gment:arrivalPoint']").value = 'JFK'
execAndWait    document.querySelector("[src='http://ww7.thomascook.com/city-breaks/Iframe.html']").contentWindow.document.querySelector("[name='checkInDate']").value = '08/10/14'
ignoreErrors    1
execAndWait    document.querySelector("[src='http://ww7.thomascook.com/city-breaks/Iframe.html']").contentWindow.document.querySelector("[name='searchButton']").click()
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
iframe cross domain issue - nccgroup_avi - 08-26-2014, 11:19 PM
RE: iframe cross domain issue - pmeenan - 08-30-2014, 01:26 AM
RE: iframe cross domain issue - nccgroup_avi - 09-02-2014 01:38 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)