I upgraded to version macOS 10.12.1 (16B2338c) (beta 3) and needed to update the NVIDIA Graphics driver to the latest one.
To get NVIDIA graphics to work I had to use Flat Package Editor to edit the WebDriver-367.15.10.05f01.pkg file.
Extract Distribution file to desktop and open it in TextEdit. Edit/change the file from:
{
var supportedOSVer = "10.12";
var supportedOSBuildVer = "16A323";
var targetBuild = system.version.ProductBuildVersion;
var result = compareBuildVersions(targetBuild, supportedOSBuildVer);
if (result != 0)
to
{
var supportedOSVer = "10.12";
var supportedOSBuildVer = "16A323";
var targetBuild = system.version.ProductBuildVersion;
var result = compareBuildVersions(targetBuild, supportedOSBuildVer);
if (result != 1)
This will bypass the version check.
Save the changes..
Delete unedited Distribution file inside WebDriver-367.15.10.05f01.pkg.
Copy back into the WebDriver-367.15.10.05f01.pkg with Flat Package Editor the edited Distribution file.
This will allow the installer to install - so install. I didn't get a Javascript error this way.
When your computer restarts it will default to OSX Graphics because you need to change 1 last file.
Navigate to /System/Library/Extensions/NVDAStartupWeb.kext/Contents/
Extract Info.plist to desktop.
Edit Info.plist with TextEdit:
<key>NVDARequiredOS</key>
<string>16A323</string>
to
<key>NVDARequiredOS</key>
<string>16B2338c</string>
Save changes.
Delete unedited Info.plist in /System/Library/Extensions/NVDAStartupWeb.kext/Contents/ and authenticate
Copy back to edited Info.plist to /System/Library/Extensions/NVDAStartupWeb.kext/Contents/ and authenticate
Restart
Change to NVIDIA Graphics
Restart
Complete
I hope my first post is helpful!