Chrome driver issue in PAF - ipaf

While executing the script in PAF , I am getting error message as
'chrome driver doesn't support the chrome version'
. How can we resolve this issue?

You have to put the compatible chromedriver.exe file in drivers folder
Before replacing the latest driver in drivers folder, End Task for chromedriver.exe in Task Manager.

Related

How to include selenium with pyinstall

I've got my script running fine using selenium web driver
In order to avoid the issue where users have mismatch versions of chrome and chromium extensions I use web driver to download the last versions at runtime.
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))
So I don't have to include any chromium binaries in the spec file as it's downloaded at runtime (right?)
Everything is working, but when I try to build an unix executable file
with pyinstaller, I don't know what binaries should I include in the spec file, (I mean the path to selenium) and as a result it cannot find the selenium module and outputs me the error
ModuleNotFoundError: No module named 'selenium'
(only with the 'standalone' build with pyinstall, the scripts don't sent me this error)
So on Mac the full package is located here:
Library/python/x.x/lib/python/site-packages/selenium/
and I had to include it in the spec file within
the binaries with the project :
binaries=[('/Users/myusername/ProjectDir', '/Users/myusername/Library/Python/x.x/lib/python/site-packages/selenium')],

Not able to find Cypress.exe file in latest Direct download package for windows from cypress.io

Not able to find Cypress.exe file in latest Direct download older from cypress.io
Steps to Reproduce:
1) visit Cypress.io website and click on direct download link (IM using Windows OS)
2) Cypress.zip will get downloaded
3) unzip as regular process into destination folder
4) open Cypress Folder and we can see cypress.exe file which will open Cypress tool.
Actual Result: Latest version downloaded but when unzipped package, not able to find cypress.exe file. Its getting extracted as cypress.app folder and not as executable file.
Expected Result: There should be some file to launch cypress tool
I noticed that earlier today as well.
Maybe the direct download OS version checker isn't working correctly? Dunno.
You can however download a specific version via a direct url
So ie. for version 3.2.0 for windows you would use
https://download.cypress.io/desktop/3.2.0?platform=win
Installing Cypress

Import-Module : The specified module 'msonline' was not loaded because no valid module file was found in any module directory

Error :
Import-Module : The specified module 'msonline' was not loaded because no valid module file was found in any module directory
The error pops up when I try to load the module by typing :
Import-Module MSOnline
tried to install the Azure AD powershell module on my computer so I'd be able to make PSSession using the MSONLINE cmdlets.
After I installed the Microsoft Online Services Sign-in Assistant (version7.250.4556.0) and then installed the latest Windows Azure AD Module for Windows Powershell, I get the above error in the title.
I can do following cmd and get output :
(get-item C:\Windows\System32\WindowsPowerShell\v1.0\Modules\MSOnline\Microsoft.Online.Administration.Automation.PSModule.dll).VersionInfo.FileVersion
Output :
1.0.8362.1
I was originally following this guide :
https://onlinehelp.coveo.com/en/ces/7.0/administrator/installing_the_windows_azure_ad_module_for_windows_powershell.htm
I can confirm on another computer where this Module is working fine that the files in the path (where the module files should reside) are the same as my computer that isn't working :
C:\Windows\System32\WindowsPowerShell\v1.0\Modules\MSOnline
I've already rebooted after installation. I've tried to install different version of the Azure AD Module from here to no avail.
Hardware/Software Version info :
Computer : Microsoft Surface Pro 3
OS Version : Windows 8.1 64-bit
PowerShell Version : Major 4 Minor 0 Build -1 Revision -1
Any help with this is greatly appreciated.
I found out the issue.
There are 2 binaries that you need to install to get this working :
Microsoft Online Services Sign-In Assistant for IT Professionals RTW
Azure Active Directory Module for Windows PowerShell
Both of these need to be the 64bit version to work together (in my case since I have a x64bit OS).
When I was trying to install the Online Services Sign-In Assistant through IE it kept giving me the 32bit MSI, even though I was asking for the 64bit installer.
I realized this after I tried to save the file, instead of just hitting RUN on the download.
Once I switched to chrome I was able to download the 64bit version.
After I had the 64bit version of both binaries installed everything worked as expected.

Install Play Framework Windows 8.1

I'm trying to install the Play! Framework on Windows 8.1, I added path and I've tried to run 'play' command, and the output is:
Error during sbt execution: Could not find configuration file
'file:////c:/Program%20Files%20(x86)/play-2.2.2/framework/sbt/play.boot.properties'.
Searched:
file:/C:/Program%20Files%20(x86)/play-2.2.2/
file:/C:/Users/Username/
file:/C:/Program%20Files%20(x86)/play-2.2.2/framework/sbt/
What can I do?
You should try to install play in a directory that doesn't include spaces (= not Program Files). This can be the cause of your problem.
copy the play framework folder to c:\ it worked for me

Selenium webdriver 2, can't get IE8 to open

I cannot get selenium to work with IE8. I am on a mac osx 10.5.8 with paralells virtual environment running Windows xp.
I have set up selenium and Ruby and my ruby scripts work fine with firefox in Windows but I can't get IE to work. I have downloaded selenium-server-standalone-2.8.0.jar and put it in my CLASSPATH but I think I have done it incorrectly.
This is the beginning of the error I get:
C:/Ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.8.0/lib/selenium/webdriver/common/driver.rb:43:in 'for': unknown driver: :internetexplorer (ArgumentError)
So my guess is that my Ruby script is bad and
"driver = Selenium::WebDriver.for :internetexplorer" is incorrect? Or I have set the CLASSPATH for selenium-server-standalone-2.8.0.jar incorrectly so that InternetExplorerDriver cannot be found.
I've found my mistake: To open internet explorer the driver should be either :ie or :internet_explorer.

Resources