SOLVED
Home

Chromium Edge automation with selenium (best practice)

%3CLINGO-SUB%20id%3D%22lingo-sub-436338%22%20slang%3D%22en-US%22%3EChromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-436338%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Esince%20ChromiumEdge%20is%20now%20available%20as%20a%20canary%20and%20a%20dev%20version%20I%20am%20also%20all%20to%20curious%20about%20how%20selenium%20will%20come%20into%20play%20as%20it%20is%20basically%20a%20chromium%20browser.%20What%20webdriver%20will%20people%20use%3F%20Is%20it%20the%20edge%20driver%20or%20the%20chrome%20driver%20or%20a%20completely%20new%20one%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20how%20far%20off%20will%20be%20automating%20ChromiumEdge%20when%20it%20comes%20to%20coding%20best%20practises%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHopefully%20this%20is%20a%20good%20start%20for%20a%20thought.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGreets%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451384%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451384%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F319298%22%20target%3D%22_blank%22%3E%40mmiky123%3C%2FA%3E%2C%20thank%20you%20for%20taking%20the%20time%20to%20play%20around%20with%20the%20preview%20channels%20of%20the%20Microsoft%20Edge%20browser.%20We%20are%20looking%20into%20the%20automation%20story%20for%20our%20new%20browser%2C%20and%20will%20be%20talking%20about%20it%20when%20it%20is%20ready.%26nbsp%3B%20In%20the%20meantime%2C%20I%20have%20captured%20your%20feedback%20and%20have%20given%20it%20to%20the%20right%20team.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-469323%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-469323%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F319298%22%20target%3D%22_blank%22%3E%40mmiky123%3C%2FA%3E%2C%26nbsp%3BI%20also%20wanted%20to%20let%20you%20know%20that%20we%20will%20have%20an%20MSEdgeDriver%20available%20very%20soon.%20It%20will%20have%20a%20download%20link%20and%20should%20also%20be%20in%20a%20chocolatey%20package.%20For%20the%20time%20being%2C%20you%20can%20point%20the%20ChromeDriver%20to%20the%20msedge.exe%20binary.%20One%20challenge%20there%20is%20that%20Selenium%20checks%20for%20the%20Browser%20version%20and%20will%20throw%20an%20error%2C%20so%20you%20ALSO%20have%20to%20modify%20the%20python%20script%20in%20Selenium.%20If%20you%20know%20how%20to%20do%20that%2C%20go%20for%20it.%20If%20not%2C%20you%20can%20wait%20just%20a%20little%20bit%20of%20time.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-John%3CSPAN%20style%3D%22font-size%3A%2014px%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-472808%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-472808%22%20slang%3D%22en-US%22%3EThank%20you%20for%20the%20update.%20I%20am%20really%20looking%20forward%20to%20it.%20That%20driver%20also%20will%20be%20very%20beneficial%20for%20every%20web%20dev%20or%20people%20who%20develop%20extensions%20for%20your%20browser%20as%20it%20has%20a%20stable%20foundation%20to%20work%20with.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-476527%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-476527%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318459%22%20target%3D%22_blank%22%3E%40johnjansen%3C%2FA%3E%20Thank%20you%2C%20I%20have%20been%20looking%20for%20the%20new%20webdriver%20for%20Chromium%20Edge%20as%20well.%20I%20have%20attempted%20pointing%20the%20latest%20ChromeDriver%20(74.0.3729.6)%20at%20Edge%20but%20it%20appears%20version%20checking%20is%20being%20performed%20by%20ChromeDriver%20itself%20(%22unrecognized%20Chrome%20version%3A%20Edg%2F75.0.131.0%22).%20Circumventing%20this%20would%20require%20compiling%20a%20new%20ChromeDriver%20from%20the%20Chrome%20repo%2C%20which%20at%20that%20point%20it%20makes%20more%20sense%20to%20just%20wait%20for%20your%20dedicated%20driver.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481976%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481976%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F324137%22%20target%3D%22_blank%22%3E%40DaleRiechert2%3C%2FA%3E%26amp%3B%20for%20those%20who%20are%20curious%20-%20it%20would%20require%20to%20patch%20this%20file%20%5B1%5D%2C%20like%20done%20for%20the%20headless%20mode%20in%20%5B2%5D.%3C%2FP%3E%3CP%3EAnyone%20has%20already%20a%20Chromium%20build%20infrastructure%20set%20up%20and%20can%20quickly%20compile%20such%20a%20binary%20until%20we%20have%20an%20official%20build%20(From%20my%20experience%20it%20might%20take%20a%20while%20to%20wait...)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5B1%5D%20%3CA%20href%3D%22https%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Frefs%2Fheads%2Fmaster%2Fchrome%2Ftest%2Fchromedriver%2Fchrome%2Fbrowser_info.cc%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Frefs%2Fheads%2Fmaster%2Fchrome%2Ftest%2Fchromedriver%2Fchrome%2Fbrowser_info.cc%3C%2FA%3E%3C%2FP%3E%3CP%3E%5B2%5D%20%3CA%20href%3D%22https%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Fc75dbfd25cc376b92a494d340259056a01e1432e%255E%2521%2F%23F0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Fc75dbfd25cc376b92a494d340259056a01e1432e%255E%2521%2F%23F0%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-482052%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-482052%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318510%22%20target%3D%22_blank%22%3E%40BPascal%3C%2FA%3E%26nbsp%3Bthe%20official%20builds%20will%20be%20out%20today.%20As%20soon%20as%20we%20get%20the%20links%20cleaned%20up%20and%20merged%2C%20I'll%20post%20a%20link%20to%20the%20download%20page.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-482214%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-482214%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318459%22%20target%3D%22_blank%22%3E%40johnjansen%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318510%22%20target%3D%22_blank%22%3E%40BPascal%3C%2FA%3E%26nbsp%3Bthe%20link%20is%20now%20live!!!%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Ftools%2Fwebdriver%2F%23downloads%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Ftools%2Fwebdriver%2F%23downloads%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-484936%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-484936%22%20slang%3D%22en-US%22%3EThanks%20for%20the%20driver.%20I%20will%20have%20a%20little%20go%20and%20let%20you%20know%20how%20it%20does.%20Next%20steps%20would%20be%20to%20make%20the%20driver%20available%20via%20nuget%20since%20a%20lot%20of%20automation%20engineers%20I%20know%20work%20with%20those%20packages%20rather%20than%20downloading%20it%20manually%20and%20copying%20it%20into%20their%20automation%20framework.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-484998%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-484998%22%20slang%3D%22en-US%22%3ESo%20besides%20renaming%20the%20filename%20to%20chromedriver%20since%20it%20only%20seems%20to%20detect%20that%20name%20by%20default%20everything%20runs%20fine%20with%20my%20first%20hello%20world%20test.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-486492%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-486492%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F319298%22%20target%3D%22_blank%22%3E%40mmiky123%3C%2FA%3E%26nbsp%3Bglad%20to%20hear%20that.%20Yeah%2C%20we%20need%20to%20get%20our%20language%20bindings%20merged%20into%20Selenium%20to%20avoid%20the%20rename.%20I%20forgot%20to%20mention%20that.%20Glad%20your%20test%20worked%2C%20though!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-498077%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-498077%22%20slang%3D%22en-US%22%3EIt%20works%20fine%20with%20Java%20bindings%20using%20ChromeDriver%20and%20setting%20the%20%22webdriver.chrome.driver%22%20property.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-499238%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-499238%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318459%22%20target%3D%22_blank%22%3E%40johnjansen%3C%2FA%3E%20Are%20there%20any%20plans%20to%20include%20the%20driver%20(or%20Edge)%20version%20number%20in%20the%20download%20urls%3F%20From%20%22%3CA%20href%3D%22https%3A%2F%2Faz813057.vo.msecnd.net%2Fwebdriver%2Fmsedgedriver_x86%2Fmsedgedriver.exe%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faz813057.vo.msecnd.net%2Fwebdriver%2Fmsedgedriver_x86%2Fmsedgedriver.exe%3C%2FA%3E%22%20I%20can%20see%20that%20the%20driver%20is%20for%2032bit%2C%20but%20that's%20it.%20And%20as%20soon%20as%20Edge%20is%20stable%20in%20version%2075%2C%20Beta%20in%2076%2C%20Dev%20in%2077%20and%20canary%20in%20another%2077%20things%20get%20messy...%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-500058%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-500058%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318510%22%20target%3D%22_blank%22%3E%40BPascal%3C%2FA%3E%26nbsp%3Bthat's%20great%20feedback%2C%20thanks.%20I%20will%20log%20a%20bug%20and%20make%20this%20change%20so%20the%20URL%20will%20include%20the%20version%20number%20that%20it%20links%20to.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-541310%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-541310%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318510%22%20target%3D%22_blank%22%3E%40BPascal%3C%2FA%3E%26nbsp%3Byes%2C%20there%20will%20be%20a%20MacOS%20driver%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-541293%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-541293%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318459%22%20target%3D%22_blank%22%3E%40johnjansen%3C%2FA%3EGreat.%20Will%20the%20msedgedriver%20for%20macOS%20also%20be%20made%20available%20for%20download%20on%20the%20given%20webpage%3F%20Using%20the%20standard%20chromedriver%20here%20again%20fails%20(as%20with%20Windows)%20with%20the%20message%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eorg.openqa.selenium.WebDriverException%3A%20unknown%20error%3A%20unrecognized%20Chrome%20version%3A%20Edg%2F76.0.151.0%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-541344%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-541344%22%20slang%3D%22en-US%22%3EWow%2C%20you're%20fast!%20I'm%20eagerly%20looking%20forward%20to%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-741916%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-741916%22%20slang%3D%22en-US%22%3E%3CP%3EHy%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318459%22%20target%3D%22_blank%22%3E%40johnjansen%3C%2FA%3E.%20I%20want%20to%20ask%20if%20you%20can%20help%20me%20with%20some%20information%20about%20msedgedriver%20for%20macOS.%20I%20tried%20to%20use%20msedgedriver%20with%20canary%20for%20ma%20os%2C%20the%20versions%20are%20the%20same%2C%20but%20I%20get%20an%20error%20message%20on%20autotest%20with%20selenium.%20There%20is%20any%20info%20about%20this%2C%20or%20it%20will%20be%20a%20stable%20version%20(because%20this%20one%20is%20beta%3F).%20Thank%20you%20very%20much%20for%20your%20help.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-742806%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-742806%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F372525%22%20target%3D%22_blank%22%3E%40Handariel%3C%2FA%3E%26nbsp%3Bwhat%20is%20the%20error%20you're%20getting%3F%20I%20have%20not%20heard%20of%20any%20errors%20on%20Mac%20yet%2C%20so%20this%20could%20be%20interesting.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-757972%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-757972%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F319298%22%20target%3D%22_blank%22%3E%40mmiky123%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20help%20me%20understand%20here%2C%20the%20only%20action%20taken%20here%20is%20to%20rename%20msedgedriver.exe%20to%20chromedriver.exe%3F%20Rest%20entire%20code%20remains%20the%20same%20as%20if%20we%20were%20using%20chromedriver%3F%20If%20so%20is%20the%20case%20can%20you%20please%20help%20me%20understand%20what%20to%20expect%20when%20we%20launch%20broswer%3CBR%20%2F%3E%3F%20Are%20we%20expecting%20chrome%20or%20edge%20to%20launch%20when%20ran%20in%20non%20headless%20mode%3F%3CBR%20%2F%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-757990%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-757990%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F377324%22%20target%3D%22_blank%22%3E%40aseema31%3C%2FA%3E%26nbsp%3Bfor%20the%20time%20being%20(hopefully%20not%20too%20much%20longer)%2C%20yes%2C%20sort-of.%20You%20want%20to%20use%20the%20Chrome*%20classes%20and%20explicitly%20point%20them%20to%20the%20msedge%20on%20your%20machine.%20When%20the%20language%20bindings%20are%20all%20updated%20and%20stable%2C%20then%20you%20can%20rename%20to%20use%20Edge*%20classes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20a%20code%20sample%20in%20C%23%20for%20what%20I%20mean%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20anaheimService%20%3D%20ChromeDriverService.CreateDefaultService(%40%22c%3A%5Cdrivers%22%2C%20%22msedgedriver.exe%22)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20var%20anaheimOptions%20%3D%20new%20ChromeOptions%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20BinaryLocation%20%3D%20%40%22C%3A%5CUsers%5Cjohnjan%5CAppData%5CLocal%5CMicrosoft%5CEdge%20SxS%5CApplication%5Cmsedge.exe%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2FanaheimOptions.AddArgument(%22--headless%22)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20driver%20%3D%20new%20ChromeDriver(anaheimService%2C%20anaheimOptions)%3B%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-762749%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762749%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318459%22%20target%3D%22_blank%22%3E%40johnjansen%3C%2FA%3E%26nbsp%3Bactually%20it%20do%20not%20open%20with%20the%20edge%3A%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20installed%20Edge%20dev%26nbsp%3B%3CSPAN%3EVersion%2077.0.211.3%2C%20and%20Edge%20Canary%26nbsp%3BVersion%2077.0.218.4%20too.%20And%20I%20use%20the%26nbsp%3BVersion%3A%2077.0.219.0%20driver.%20My%20test%20open%20chrome%2C%20not%20edge.%20I%20tried%20with%20chromeoption%2C%20with%20System.setProperty%2C%20but%20still.%20Can%20you%20help%20me%20what%20I%20do%20wrong%3F%20Thanks!%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-763224%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-763224%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F372525%22%20target%3D%22_blank%22%3E%40Handariel%3C%2FA%3E%26nbsp%3Byou%20need%20to%20do%20it%20the%20way%20my%20code%20sample%20does%20it%3A%20point%20the%20code%20to%20the%20exact%20msedgedriver.exe%20as%20well%20as%20the%20msedge.exe%20that%20is%20on%20the%20machine.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-766325%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-766325%22%20slang%3D%22en-US%22%3EHi.%20So%20it%20looks%20like%20the%20chromium%20edge%20driver%20is%20specifically%20tailored%20to%20chromium%20edge%20and%20its%20functionality%2C%20so%20it%20is%20by%20default%20searching%20for%20a%20chromium%20edge%20installation.%20From%20there%20it%20is%20just%20like%20the%20chromedriver%20with%20its%20functionality.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-766702%22%20slang%3D%22en-US%22%3ERe%3A%20Chromium%20Edge%20automation%20with%20selenium%20(best%20practice)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-766702%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F319298%22%20target%3D%22_blank%22%3E%40mmiky123%3C%2FA%3E%26nbsp%3BYes%2C%20that's%20correct.%20Each%20browser%20must%20have%20it's%20own%20Driver%20that%20specifically%20runs%20that%20version%20of%20the%20browser.%20So%20if%20you%20want%20to%20automate%20the%20Old%20Edge%2C%20you'd%20use%20MicrosoftWebDriver.%20If%20you%20want%20to%20automate%20the%20new%20Edge%2C%20you'd%20use%20MSEdgeDriver%20(and%20for%20the%20time%20being%2C%20tell%20it%20where%20to%20find%20the%20EXE%20to%20launch%20msedge.exe%20instead%20of%20chrome.exe).%3C%2FP%3E%3C%2FLINGO-BODY%3E
mmiky123
Occasional Contributor

Hi Guys,

 

since ChromiumEdge is now available as a canary and a dev version I am also all to curious about how selenium will come into play as it is basically a chromium browser. What webdriver will people use? Is it the edge driver or the chrome driver or a completely new one? 

 

Also how far off will be automating ChromiumEdge when it comes to coding best practises?

 

Hopefully this is a good start for a thought.

 

Greets,

24 Replies

Hi @mmiky123, thank you for taking the time to play around with the preview channels of the Microsoft Edge browser. We are looking into the automation story for our new browser, and will be talking about it when it is ready.  In the meantime, I have captured your feedback and have given it to the right team.

@mmiky123, I also wanted to let you know that we will have an MSEdgeDriver available very soon. It will have a download link and should also be in a chocolatey package. For the time being, you can point the ChromeDriver to the msedge.exe binary. One challenge there is that Selenium checks for the Browser version and will throw an error, so you ALSO have to modify the python script in Selenium. If you know how to do that, go for it. If not, you can wait just a little bit of time.

 

-John 

Thank you for the update. I am really looking forward to it. That driver also will be very beneficial for every web dev or people who develop extensions for your browser as it has a stable foundation to work with.

@johnjansen Thank you, I have been looking for the new webdriver for Chromium Edge as well. I have attempted pointing the latest ChromeDriver (74.0.3729.6) at Edge but it appears version checking is being performed by ChromeDriver itself ("unrecognized Chrome version: Edg/75.0.131.0"). Circumventing this would require compiling a new ChromeDriver from the Chrome repo, which at that point it makes more sense to just wait for your dedicated driver.

@DaleRiechert2& for those who are curious - it would require to patch this file [1], like done for the headless mode in [2].

Anyone has already a Chromium build infrastructure set up and can quickly compile such a binary until we have an official build (From my experience it might take a while to wait...)?

 

[1] https://chromium.googlesource.com/chromium/src/+/refs/heads/master/chrome/test/chromedriver/chrome/b...

[2] https://chromium.googlesource.com/chromium/src/+/c75dbfd25cc376b92a494d340259056a01e1432e%5E%21/#F0

@BPascal the official builds will be out today. As soon as we get the links cleaned up and merged, I'll post a link to the download page.

Thanks for the driver. I will have a little go and let you know how it does. Next steps would be to make the driver available via nuget since a lot of automation engineers I know work with those packages rather than downloading it manually and copying it into their automation framework.
So besides renaming the filename to chromedriver since it only seems to detect that name by default everything runs fine with my first hello world test.

@mmiky123 glad to hear that. Yeah, we need to get our language bindings merged into Selenium to avoid the rename. I forgot to mention that. Glad your test worked, though!

It works fine with Java bindings using ChromeDriver and setting the "webdriver.chrome.driver" property.
@johnjansen Are there any plans to include the driver (or Edge) version number in the download urls? From "https://az813057.vo.msecnd.net/webdriver/msedgedriver_x86/msedgedriver.exe" I can see that the driver is for 32bit, but that's it. And as soon as Edge is stable in version 75, Beta in 76, Dev in 77 and canary in another 77 things get messy...

@BPascal that's great feedback, thanks. I will log a bug and make this change so the URL will include the version number that it links to.

@johnjansenGreat. Will the msedgedriver for macOS also be made available for download on the given webpage? Using the standard chromedriver here again fails (as with Windows) with the message:

 

org.openqa.selenium.WebDriverException: unknown error: unrecognized Chrome version: Edg/76.0.151.0

@BPascal yes, there will be a MacOS driver as well.

Wow, you're fast! I'm eagerly looking forward to it.

Hy @johnjansen. I want to ask if you can help me with some information about msedgedriver for macOS. I tried to use msedgedriver with canary for ma os, the versions are the same, but I get an error message on autotest with selenium. There is any info about this, or it will be a stable version (because this one is beta?). Thank you very much for your help. 

@Handariel what is the error you're getting? I have not heard of any errors on Mac yet, so this could be interesting.

@mmiky123 

Please help me understand here, the only action taken here is to rename msedgedriver.exe to chromedriver.exe? Rest entire code remains the same as if we were using chromedriver? If so is the case can you please help me understand what to expect when we launch broswer
? Are we expecting chrome or edge to launch when ran in non headless mode?
Thank you

@aseema31 for the time being (hopefully not too much longer), yes, sort-of. You want to use the Chrome* classes and explicitly point them to the msedge on your machine. When the language bindings are all updated and stable, then you can rename to use Edge* classes.

 

Here is a code sample in C# for what I mean:

 

                    var anaheimService = ChromeDriverService.CreateDefaultService(@"c:\drivers", "msedgedriver.exe");
                    var anaheimOptions = new ChromeOptions
                    {
                        BinaryLocation = @"C:\Users\johnjan\AppData\Local\Microsoft\Edge SxS\Application\msedge.exe"
                    };
                    //anaheimOptions.AddArgument("--headless");
                    driver = new ChromeDriver(anaheimService, anaheimOptions);

 

Solution

@johnjansen actually it do not open with the edge:  

i installed Edge dev Version 77.0.211.3, and Edge Canary Version 77.0.218.4 too. And I use the Version: 77.0.219.0 driver. My test open chrome, not edge. I tried with chromeoption, with System.setProperty, but still. Can you help me what I do wrong? Thanks! 

@Handariel you need to do it the way my code sample does it: point the code to the exact msedgedriver.exe as well as the msedge.exe that is on the machine.

Hi. So it looks like the chromium edge driver is specifically tailored to chromium edge and its functionality, so it is by default searching for a chromium edge installation. From there it is just like the chromedriver with its functionality.

@mmiky123 Yes, that's correct. Each browser must have it's own Driver that specifically runs that version of the browser. So if you want to automate the Old Edge, you'd use MicrosoftWebDriver. If you want to automate the new Edge, you'd use MSEdgeDriver (and for the time being, tell it where to find the EXE to launch msedge.exe instead of chrome.exe).