2 years ago
#20649
Swathi Gona
We are trying to Automate some tests for Salesforce Lightning page and I am getting "login.microsoftonline.com refused to connect." error
Visual Studio c#, selenium code. Using Selenium Web-driver chrome driver and trying to open Salesforce Lightning page. When I go to Activities screen getting "login.microsoftonline.com refused to connect." error. Checked the developers tools and see the message X-Frame set to Deny. Switched to Salesforce Classic and I don't see the issue.
When I try to open Salesforce Lightning with my local chrome browser instance everything works fine. The only issue is with Web-drive Chrome instance.
Can any one help me how can I make X-Frame set to Allow.
c#
selenium
selenium-webdriver
salesforce-lightning
0 Answers
Your Answer