The page i am automating has a dxheViewArea. I want to enter some text in this field.
My Webdriver code is:
d.FindElement(By.CssSelector(".dxheDesignViewArea dxheViewArea")).SendKeys("Who invented the first fixed witn aircraft?");
I run it in NUnit, the error returned is Unable to locate element: {"method":"css selector","selector":".dxheDesignViewArea dxheViewArea"}
In Firefox i inspect the element, the code is:
<body class="dxheDesignViewArea dxheViewArea" style="border-width: 0px;" spellcheck="false"/>
What Xpath syntax can i use to locate and enter some text in this element please?
Full source is here:
<style/>
<link href="/DXR.axd?r=4_1" type="text/css" rel="stylesheet"/>
<style charset="utf-8" type="text/css">xxxxxxxx</style>
<style id="firepath-matching-node-style" type="text/css">.firepath-matching-node { outline: 2px dashed #00F;}</style>
</head>
<body class="dxheDesignViewArea dxheViewArea" style="border-width: 0px;" spellcheck="false"/>
</html>