I am trying to download csv file from below URL using Selenum webdriver.
nse bulk deals
screenshot nse bulk deals
I tried most of the ways to click "Get Data" button and it's clickable. This button is gets disabled only in chrome remote controlled mode but if we open the url in browser it works fine.
Is there a way to fix this problem ?
Related
So just like uTorrent gets magnet links and opens them,
How can I setup my WinForm app to get a URL from Default Browser (in this case my default is Chrome) and open that URL in EO.WebBrowser within my app?
I don't have any code for this yet, as I don't know where to start.
Is this something that would be assigned as a Registry Key?
I know there are Registry keys for uTorrent to handle Magnet links in HKEY_CLASSES_ROOT\Magnet\shell\open\command.
What I have is WhatsApp Web open in EO.WebBrowser, and when I click on a URL starting with https://web.whatsapp.com or https://api.whatsapp.com it would open that link. The thing is the link should be changed to web.whatsapp.com, instead of api.whatsapp.com
I am trying to use Selenium to open a URL in Chrome and hit a button, which will download a text file for me. But it's giving me an aspx page instead of the text file.
It's working fine if I do this manually in Chrome.
I also tried to do this with a Firefox driver but I got the same issue.
I am opening the url using driver.Navigate().GoToUrl().
Can you guys please help me on this?
I'm working with a ASP.Net App but having an issue with a popup window whose url contains quotation marks.
In the code the url is something like http://www.example.com?a=7&b='misc'&c=23
The code uses escape clauses to generate the url so that the string parameter looks like: "http://www.example.com?a=7&b=//'misc//'&c=23"
The problem is that when this popup is triggered on our dev and QA web servers IE11 just displays a # and the message
"Internet Explorer has modified this page to prevent Cross Site
Scripting".
This does not occur when I run the code locally. In this case the popup opens up as expected.
If I type the popup url directly into the browser ie (http://www.example.com?a=7&b='misc'&c=23)
it opens locally but not on the two servers.
Why will it open locally but not on the Web Servers and how can I resolve this issue so that it runs on all of them?
I am working on a automation of a website using selenium and C# , but i stuck in a situation where on a button click a new webpage dialog open and on that web page dialog we have to select some value and click on save button. Problem is i am unable to switch to that webpage dialog and even f12 window not working on that webpage dialog this website is only working on IE so no other option . Please help me. Here is post screenshot of webpage dialog and HTML code of Button which open that dialog box.
I have got this problem, where the title of page is Webpage dialog same as you. In this window you can not inspect the element. Solution to this is go to
Internet Explorer-->
Internet Options -->
Security tab -->
Custom Level -->
Disable the option : Allow Websites to open windows without address or status bar
Now, You can inspect element by F12 in IE. now, simply write all the selenium commands, you can also use JavaScriptExecutor for that, If you dialog box calls JavaScript.
IWebElement advancedSearchButton = driver.FindElement(By.Id("advanced-search"));
advancedSearchButton.Click();
this code works when the click button is displayed in the chrome driver, but when I resize the chrome to a very small size and the button is not displayed on the browser but it is loaded, click action does not work. When I minimize the chrome, click action works I am confused what to do ? I want to eventually try to make chrome as small as possible to hide the detail from the user kind of trying to run headless with windows C# please help thank you