Session id not created in chromium Edge browser through selenium webdriver

%3CLINGO-SUB%20id%3D%22lingo-sub-1237923%22%20slang%3D%22en-US%22%3ESession%20id%20not%20created%20in%20chromium%20Edge%20browser%20through%20selenium%20webdriver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1237923%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20Team%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Erecently%20my%20project%20we%20have%20migrated%20Chromium%20Edge%20browse%20in%20selenium%20framework%20I%20try%20below-mentioned%20code%20but%20I%20get%20session%20not%20create%20exception%20please%20give%20suggestion%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emy%20system%20details%26nbsp%3B%3C%2FP%3E%3CP%3EWin%207%20Os%20and%20selenium%203.141%20version%20and%20chromium%20edge%20browser%20version%20is%26nbsp%3B%2082%20%2B%26nbsp%3B%3C%2FP%3E%3CP%3Emy%20coding%20%3A%3C%2FP%3E%3CP%3ESystem.setProperty(%22webdriver.chrome.driver%22%2C%20%22C%3A%5C%5CUsers%5C%5Cpceqa%5C%5CDownloads%5C%5Cedgedriver_win64%5C%5Cmsedgedriver.exe%22)%3B%3CBR%20%2F%3E%3CBR%20%2F%3EChromeOptions%20op%20%3Dnew%20ChromeOptions()%3B%3CBR%20%2F%3Eop.setBinary(%22C%3A%5C%5CProgram%20Files%20(x86)%5C%5CMicrosoft%5C%5CEdge%20Beta%5C%5CApplication%5C%5Cmsedge.exe%22)%3B%3CBR%20%2F%3E%3CBR%20%2F%3Edriver%3Dnew%20ChromeDriver(op)%3B%3C%2FP%3E%3CP%3EError%20trace%26nbsp%3B%3C%2FP%3E%3CP%3EStarting%20MSEdgeDriver%2081.0.416.34%20(03120a7eee79e003b101978167af19f238dd1de0)%20on%20port%2017693%3CBR%20%2F%3EOnly%20local%20connections%20are%20allowed.%3CBR%20%2F%3EPlease%20protect%20ports%20used%20by%20MSEdgeDriver%20and%20related%20test%20frameworks%20to%20prevent%20access%20by%20malicious%20code.%3CBR%20%2F%3EException%20in%20thread%20%22main%22%20org.openqa.selenium.SessionNotCreatedException%3A%20session%20not%20created%3A%20No%20matching%20capabilities%20found%3CBR%20%2F%3EBuild%20info%3A%20version%3A%20'3.141.59'%2C%20revision%3A%20'e82be7d358'%2C%20time%3A%20'2018-11-14T08%3A17%3A03'%3CBR%20%2F%3ESystem%20info%3A%20host%3A%20'QA-AUTO-WIN7-06'%2C%20ip%3A%20'10.16.53.11'%2C%20os.name%3A%20'Windows%207'%2C%20os.arch%3A%20'amd64'%2C%20os.version%3A%20'6.1'%2C%20java.version%3A%20'1.8.0_73'%3CBR%20%2F%3EDriver%20info%3A%20driver.version%3A%20ChromeDriver%3CBR%20%2F%3Eremote%20stacktrace%3A%20Backtrace%3A%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F8F6DC2%2B3239362%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F7E8C62%2B2133090%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F6927A4%2B731044%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F61EABA%2B256698%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F61E3BE%2B254910%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F61FA01%2B260609%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F61CB9F%2B248735%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F5FA1A3%2B106915%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F5FB50E%2B111886%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F804781%2B2246529%5D%3CBR%20%2F%3EGetHandleVerifier%20%5B0x000000013F9D5454%2B767796%5D%3CBR%20%2F%3EGetHandleVerifier%20%5B0x000000013F9D5211%2B767217%5D%3CBR%20%2F%3EGetHandleVerifier%20%5B0x000000013F9EDFF1%2B869073%5D%3CBR%20%2F%3EGetHandleVerifier%20%5B0x000000013F9D5CB7%2B769943%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F7FA314%2B2204436%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F80665E%2B2254430%5D%3CBR%20%2F%3EOrdinal0%20%5B0x000000013F824711%2B2377489%5D%3CBR%20%2F%3EBaseThreadInitThunk%20%5B0x000000007716556D%2B13%5D%3CBR%20%2F%3ERtlUserThreadStart%20%5B0x00000000773C372D%2B29%5D%3C%2FP%3E%3CP%3Eat%20sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native%20Method)%3CBR%20%2F%3Eat%20sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java%3A62)%3CBR%20%2F%3Eat%20sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java%3A45)%3CBR%20%2F%3Eat%20java.lang.reflect.Constructor.newInstance(Constructor.java%3A422)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.W3CHandshakeResponse.lambda%24errorHandler%240(W3CHandshakeResponse.java%3A62)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.HandshakeResponse.lambda%24getResponseFunction%240(HandshakeResponse.java%3A30)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.ProtocolHandshake.lambda%24createSession%240(ProtocolHandshake.java%3A126)%3CBR%20%2F%3Eat%20java.util.stream.ReferencePipeline%243%241.accept(ReferencePipeline.java%3A193)%3CBR%20%2F%3Eat%20java.util.Spliterators%24ArraySpliterator.tryAdvance(Spliterators.java%3A958)%3CBR%20%2F%3Eat%20java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java%3A126)%3CBR%20%2F%3Eat%20java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java%3A498)%3CBR%20%2F%3Eat%20java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java%3A485)%3CBR%20%2F%3Eat%20java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java%3A471)%3CBR%20%2F%3Eat%20java.util.stream.FindOps%24FindOp.evaluateSequential(FindOps.java%3A152)%3CBR%20%2F%3Eat%20java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java%3A234)%3CBR%20%2F%3Eat%20java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java%3A464)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java%3A128)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java%3A74)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java%3A136)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java%3A83)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java%3A552)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java%3A213)%3CBR%20%2F%3Eat%20org.openqa.selenium.remote.RemoteWebDriver.%3CINIT%3E(RemoteWebDriver.java%3A131)%3CBR%20%2F%3Eat%20org.openqa.selenium.chrome.ChromeDriver.%3CINIT%3E(ChromeDriver.java%3A181)%3CBR%20%2F%3Eat%20org.openqa.selenium.chrome.ChromeDriver.%3CINIT%3E(ChromeDriver.java%3A168)%3CBR%20%2F%3Eat%20org.openqa.selenium.chrome.ChromeDriver.%3CINIT%3E(ChromeDriver.java%3A157)%3CBR%20%2F%3Eat%20edge.NewClassForEDge.main(NewClassForEDge.java%3A17)%3C%2FINIT%3E%3C%2FINIT%3E%3C%2FINIT%3E%3C%2FINIT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20can%20search%20more%20thinks%20in%20google%20but%20I%20dont%20get%20any%20matched%20solution%3C%2FP%3E%3CP%3Eplease%20helps%20us%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1238033%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20id%20not%20created%20in%20chromium%20Edge%20browser%20through%20selenium%20webdriver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1238033%22%20slang%3D%22en-US%22%3EHi%2C%20it's%20a%20bit%20hard%20to%20read%20and%20tell%20the%20difference%20between%20code%2Ferror%20message%2Fand%20text%2C%20you%20can%20use%20the%20%22code%22%20in%20post%20editing%20mode%20to%20reformat%20it%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1238122%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20id%20not%20created%20in%20chromium%20Edge%20browser%20through%20selenium%20webdriver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1238122%22%20slang%3D%22en-US%22%3EHi%2C%20it's%20a%20bit%20hard%20to%20read%20because%20one%20can't%20tell%20clearly%20where%20the%20text%20ends%20and%20where%20the%20code%20or%20error%20messages%20begin%2C%20you%20can%20use%20the%20%22code%22%20in%20post%20editing%20mode%20to%20reformat%20it%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1510775%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20id%20not%20created%20in%20chromium%20Edge%20browser%20through%20selenium%20webdriver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1510775%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F586568%22%20target%3D%22_blank%22%3E%40PraveenRaj13%3C%2FA%3E%26nbsp%3Bdid%20you%20get%20any%20update%20on%20this%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Dear Team 

 

recently my project we have migrated Chromium Edge browse in selenium framework I try below-mentioned code but I get session not create exception please give suggestion  

 

my system details 

Win 7 Os and selenium 3.141 version and chromium edge browser version is  82 + 

my coding :

System.setProperty("webdriver.chrome.driver", "C:\\Users\\pceqa\\Downloads\\edgedriver_win64\\msedgedriver.exe");

ChromeOptions op =new ChromeOptions();
op.setBinary("C:\\Program Files (x86)\\Microsoft\\Edge Beta\\Application\\msedge.exe");

driver=new ChromeDriver(op);

Error trace 

Starting MSEdgeDriver 81.0.416.34 (03120a7eee79e003b101978167af19f238dd1de0) on port 17693
Only local connections are allowed.
Please protect ports used by MSEdgeDriver and related test frameworks to prevent access by malicious code.
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: session not created: No matching capabilities found
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'QA-AUTO-WIN7-06', ip: '10.16.53.11', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_73'
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
Ordinal0 [0x000000013F8F6DC2+3239362]
Ordinal0 [0x000000013F7E8C62+2133090]
Ordinal0 [0x000000013F6927A4+731044]
Ordinal0 [0x000000013F61EABA+256698]
Ordinal0 [0x000000013F61E3BE+254910]
Ordinal0 [0x000000013F61FA01+260609]
Ordinal0 [0x000000013F61CB9F+248735]
Ordinal0 [0x000000013F5FA1A3+106915]
Ordinal0 [0x000000013F5FB50E+111886]
Ordinal0 [0x000000013F804781+2246529]
GetHandleVerifier [0x000000013F9D5454+767796]
GetHandleVerifier [0x000000013F9D5211+767217]
GetHandleVerifier [0x000000013F9EDFF1+869073]
GetHandleVerifier [0x000000013F9D5CB7+769943]
Ordinal0 [0x000000013F7FA314+2204436]
Ordinal0 [0x000000013F80665E+2254430]
Ordinal0 [0x000000013F824711+2377489]
BaseThreadInitThunk [0x000000007716556D+13]
RtlUserThreadStart [0x00000000773C372D+29]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:157)
at edge.NewClassForEDge.main(NewClassForEDge.java:17)

 

i can search more thinks in google but I dont get any matched solution

please helps us 

 

 

 

 

 

2 Replies
Highlighted
Hi, it's a bit hard to read because one can't tell clearly where the text ends and where the code or error messages begin, you can use the "code" in post editing mode to reformat it
Highlighted

@PraveenRaj13 did you get any update on this issue?