You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-19Lines changed: 42 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,29 +5,41 @@ Plugin (formatter) for Se-builder that generates javascript from Se-builder scri
5
5
6
6
## IMPORTANT - Version Compatibility
7
7
8
-
<b>The old version of Se-Builder no longer runs in Firefox by default. See https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox for a workaround.</b> I will update this plugin to work with the new version once it is closer to feature parity with the old version.
8
+
### Selenium Builder 3 Compatibility Update
9
9
10
-
* Old version of Selenium Builder (works with this plugin): https://github.com/SeleniumBuilder/se-builder/
11
-
* New version of Selenium Builder (untested with this plugin): https://github.com/SeleniumBuilder/selenium-builder/
10
+
<b>I have tested the plugin with the new version of se-builder and it works fine!</b> You can use that version if you want, installed from here: https://addons.mozilla.org/en-GB/firefox/addon/selenium-builder/
12
11
13
-
## Download the plugin
12
+
The only change in the installation is the location of the plugin. It is now placed in `SeBuilder3/plugins` instead of `SeBuilder/plugins`. Can't find the plugins directory? [Check here!](#cant-find-the-plugins-directory)
14
13
15
-
[Download link for plugin](https://github.com/sschwartzman/newrelic-synthetics-sebuilder/archive/master.zip)
14
+
<b>Limitation of Selenium Builder 3: local playback does not work.</b> If you want to record a script and replay it after tweaking, you'll need to run a Selenium Server somewhere. [That's easy enough to do.](http://www.seleniumhq.org/docs/05_selenium_rc.jsp#installation) It can be run locally on your laptop.
* Yes, you'll need [FireFox](https://www.mozilla.org/en-US/firefox/new/) too.
21
-
2. Run Se-builder at least once before proceeding. Running it the first time creates the folder where you'll put the plugin.
22
-
* Run it by going to Tools > Web Developer > Launch Selenium Builder.
23
-
3. Se-builder will appear as a small icon that looks like a Lego piece in the Firefox add-ons toolbar. Click on that icon to load.
24
-
* If Se-builder does not show up, click on the Hamburger menu, click Customise, and drag the Se-builder icon from "Additional Tools and Features" on the left into the toolbar.
18
+
This formatter plugin is tested and compatible with the old version of Se-Builder, which is an unisgned plugin. <b>The old version of Se-Builder no longer runs in Firefox by default. See https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox for a workaround.</b> NOTE: This workaround may not work for the most recent versions of Firefox. If that's the case, either use an older version of Firefox, or use Selenium Builder 3 (now that the plugin supports it).
25
19
26
-
## Install the plugin
20
+
* Old version: Se-Builder 2: https://github.com/SeleniumBuilder/se-builder/
1.[Download the plugin](https://github.com/sschwartzman/newrelic-synthetics-sebuilder/archive/master.zip)
29
-
2. Unzip the plugin into the `SeBuilder/plugins` directory on in your Firefox profile.
30
-
***NOTE:** The zip contains a folder called `nr_synthetics_formatter`. Move the **FOLDER with enclosed files** into the plugins directory, rather than moving the files themselves without the folder.
25
+
## Installation
26
+
27
+
### Download the plugin
28
+
29
+
[Download link for plugin](https://github.com/sschwartzman/newrelic-synthetics-sebuilder/blob/master/nr_synthetics_formatter.zip)
* You'll need [FireFox](https://www.mozilla.org/en-US/firefox/new/) too.
37
+
2. Run Se-builder at least once before proceeding. Running it the first time creates the folder where you'll put the plugin. Run it by going to <b>Tools > Web Developer > Launch Selenium Builder.</b>
38
+
39
+
### Install the plugin
40
+
41
+
1.[Download the plugin](https://github.com/sschwartzman/newrelic-synthetics-sebuilder/blob/master/nr_synthetics_formatter.zip)
42
+
2. Unzip the plugin into the `SeBuilder/plugins` (v2) or `SeBuilder3/plugins` (v3) directory on in your Firefox profile. Your folder structure should look like this: 
31
43
* Can't find the Se-builder plugins directory? [Check here](#cant-find-the-plugins-directory)
32
44
3. Restart the se-builder if you still have it running. You don't have to restart Firefox, just exit and re-open Se-builder.
33
45
4. To verify that the plugin is loaded, click "Manage plugins" in the opening dialog box. You should see "New Relic Synthetics Formatter #.# Installed" in the Plugins list.
@@ -45,7 +57,8 @@ Plugin (formatter) for Se-builder that generates javascript from Se-builder scri
45
57
* Save the result to any name and location you want, so long as you can find it!
46
58
* When saving, add ".js" to the end of the file name so that it looks pretty in your text editor of choice.
47
59
3. Create a new Scripted Browser monitor in Synthetics
48
-
* Click "Add New Monitor" in the main screen of Synthetics or visit https://synthetics.newrelic.com/accounts/[your_account_id].monitors/new
60
+
* Click "Add New Monitor" in the main screen of Synthetics or visit
0 commit comments