ShihMin Huang Posted September 27, 2019 Share Posted September 27, 2019 Hi everyone, I'd like to how to open a web browser with saved cookie I've tried the following sample code before, but the WebBrowser() don't have any method for set cookie's parameter So could you give me some advices to fulfill this request Thanks a lot. I have one more question, could we import selenium python module tothe spotfire ironptyhon library import clr clr.AddReference("System.Windows.Forms") from System.Windows.Forms import Form, DockStyle, WebBrowser f = Form() f.Text = 'Map' f.Width = 800 f.Height = 600 wb = WebBrowser() wb.Navigate("http://www.bbc.co.uk") # Layout wb.Dock = DockStyle.Fill f.Controls.Add(wb) # Display the Control f.ShowDialog() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now