Support > Forums > OpenBots Studio > are there command like selenium get browser info in native browser?

are there command like selenium get browser info in native browser?

mohamed kamal

  • Reporter
  • Calender Icon March 13,2022 at 5:08 AM

are there command like selenium get browser info in native browser? I need to copy the link of the current page like selenium get browser info are they any method to get copy the link in native browser ?

This forum has 172 topics, 459 replies, and was last updated an hour ago by Poornima Malv

mohamed kamal

  • Participant
  • Calender Icon March 15,2022 at 9:26 AM

Hi poomal001, thank you so much Good suggestion, works great Thank you

Poornima Malviya

  • Participant
  • Calender Icon March 14,2022 at 10:46 AM

Hi MOHKAM001,

Thankyou for reaching out to us. As per selenium there is get browser info command. For the native browser we do not have that command. As an alternative, I would suggest you can use Native Browser Get Attribute command and spy an element on current page, once you have spied. There would be a list of attributes will be displayed. You can see which attribute suits the best that gives required URL information. Then pass that attribute name in the field of Attribute Name Sample attributes for reference - "Link Text" or "Ahre". You can do string manipulation and fetch the URL.

You are not authorized to reply, please click here to login and add your reply to this topic.