Questions tagged [marionette]
Backbone.Marionette is a composite application library for Backbone.js that aims to simplify the construction of large scale JavaScript applications. Do NOT use this tag for Firefox's Marionette driver. Use the firefox-marionette tag instead.
marionette
2,384
questions
1
vote
0
answers
27
views
How does triggers clicked worked in backbone.js
Recently, I have got a rails project project with backbone.js and CoffeeScript to support however I don't have previous work experience with backbone.js.
Some of model relationship of the projects are:...
1
vote
0
answers
144
views
Is there any way to start Firefox with --marionette and hide the pink/gray stripes over the address bar?
I know that I can start Firefox in remote controllable state as follows:
Close all instances of Firefox
Start Firefox with the poorly documented --marionette command line switch:
"c:\Program ...
1
vote
1
answer
19
views
How can I set an attribute on specifically the last child view of a Marionette CollectionView?
I have a Marionette CollectionView with a child view:
const BreadcrumbListView = Marionette.CollectionView.extend({
...
childView: BreadcrumbView,
...
})
const BreadcrumbView = Marionette.View.extend(...
2
votes
0
answers
278
views
Failed to read marionette port(Selenium-py+Ubuntu+Geckodriver)
Im running a tiny script(See below).
Every time I run it I get: selenium.common.exceptions.TimeoutException: Message: Failed to read marionette port
I'm on Ubuntu 22, running Selenium 4, using ...
0
votes
2
answers
184
views
is there a function to do this
I'm looking for a way to get the same functionality of the Lodash _.forIn() Method but without using Lodash. I can use Underscore however.
This is what the method does
https://www.geeksforgeeks.org/...
0
votes
0
answers
468
views
Disable smooth scroll Firefox-Selenium
I want to disable Smooth Scrolling of any page for testing purposes for firefox, I want the exact same behavior as this --disable-smooth-scrolling=true chrome's argument. With that argument, chrome ...
0
votes
1
answer
116
views
object is possibly undefined error when trying to declare a variable in backbone model
I am using a backbone model:
export class test = Backbone.Model.extend({
defaults: {
name : ''},
x = 'test'
)}{
function(){
console.log(this.x)}
}
However I get an error on the ...
1
vote
1
answer
68
views
jquery ui datepicker not appearing on click with marionette/backbone
Using marionette and trying to display a jquery date picker. However, when I click on the input, the calendar does not appear.
This is my view:
const view = app.Views.Layout.extend({
template: require(...
1
vote
0
answers
92
views
Select2 custom data fetch when user starts typing in search bar. (BackboneJS / Marionette collection) SELECT2
I am using SELECT2 in BackboneJS/Marionette. Right now following is flow:
Current:
From parent, call FETCH method of COLLECTION. When fetch is completed then send this COLLECTION to a new VIEW and ...
0
votes
1
answer
162
views
Custom thumbnail CKFinder 3, custom file type
I have custom file types, or a file type that doesn't support thumbnails because ckfinder only supports image type.
So file:getThumb only gets called on image file types
finder.on('file:getThumb', ...
0
votes
1
answer
82
views
Marionette - combining CollectionView with View
I'm new to marionette and I would like to generate CollectionView inside a CollectionView.
I read that if a view gets collection as argument it stores it as 'items' argunemt. My problem boils down to ...
1
vote
2
answers
1k
views
WebDriverException: Message: Can't load the profile. Possible firefox version mismatch. You must use GeckoDriver instead for Firefox 48+with Selenium
I tried to follow an example how to parse websites via python and selenium.
But I am running always into the following problem: calling the function webdriver.Firefox
opens a firefox instance, but no ...
1
vote
0
answers
51
views
Is there anyway to make selenium without headless mode on Firefox? [duplicate]
When i run my script on Python using Selenium it appears that Firefox understands that a bot is taking over. Is there any way i can bypass that?
firefox_capabilities = DesiredCapabilities.FIREFOX
...
1
vote
1
answer
134
views
How to bundle an backbone application
We have a backbone application with require.js for loading js, while loading this application on chrome it takes around 30 seconds to load the page completely.
On inspecting the network tab I found ...
3
votes
2
answers
1k
views
How to remove the rust_mozprofile used by Selenium
I have used selenium with python for a while and I recently discovered that my tmp dir is full of rust_mozprofile directories. How can I have them deleted on the fly?
I read in another post that I ...