Hỏi đáp
Chia sẻ kiến thức, cùng nhau phát triển
Tình hình là em đang học tới bài profile Selenium, em copy - paste code nhưng lại phát sinh ra lỗi. Em đã seach google vẫn không sửa được lỗi. Mong anh chị em giúp đỡ.
Code:
FirefoxProfile firefoxProfile = new FirefoxProfile(@"C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox\Profiles\uzgh5zjj.Vietnam");
FirefoxDriver firefoxDriver = new FirefoxDriver(firefoxProfile);
Lỗi:
cannot convert from 'OpenQA.Selenium.Firefox.FirefoxProfile' to 'OpenQA.Selenium.Firefox.FirefoxOptions'
đổi profile thành option