Unable to ignore certificate with edge browser

165 views
Skip to first unread message

Monika S

unread,
Mar 1, 2021, 9:29:46 AM3/1/21
to robotframework-users
hi All,

can anyone help how to ignore certificate errors with edge and run in headless mode.

i tried below but doesn't work. Can someone please help with this

Open Browser   ${url}   ${res_BROWSER_TYPE}    EdgeOptions=AddArguments("--ignore-certificate-errors");AddArguments("--headless")


Thanks,
Monika

Priyanka Kamboj

unread,
Mar 1, 2021, 9:34:08 AM3/1/21
to sapram...@gmail.com, robotframework-users
Hi,

Open Browser   ${url}   ${res_BROWSER_TYPE}    options=add_arguments("--ignore-certificate-errors")



--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/47d296a9-51ae-4286-80ef-0f1064f57b43n%40googlegroups.com.

Monika S

unread,
Mar 1, 2021, 10:29:32 AM3/1/21
to robotframework-users
hi Priya,

I have tried this before .doesn't work with edge browser. Do you think anything wrong in below line?

     Open Browser   ${url}   edge     options=addArguments("----ignore-certificate-errors")

Thanks,
Monika

Deepak Singh

unread,
Mar 1, 2021, 10:45:15 AM3/1/21
to sapram...@gmail.com, robotframework-users
Try adding capabilities to the Open Browser keyword with capabilty like acceptssl:true

--

Monika S

unread,
Mar 1, 2021, 10:51:14 AM3/1/21
to robotframework-users
Tried this Did not  work

Open Browser   ${url}   edge     desired_capabilities=acceptssl:true


Thanks,
Monika

Priyanka Kamboj

unread,
Mar 1, 2021, 11:15:54 AM3/1/21
to sapram...@gmail.com, robotframework-users
Hi,

It should be
Open Browser   ${url}   edge     options=add_arguments("--ignore-certificate-errors")

Thanks 
Priyanka


Monika S

unread,
Mar 1, 2021, 11:19:20 AM3/1/21
to robotframework-users
Yes Priya i tried the same. It was copy paste mistake above..

I exactly used the same like.

Does anyone know is this issue with edge and robot framework?

Thanks,
Monika

Reply all
Reply to author
Forward
0 new messages