0

I have configured a selenium grid instance in kubernets. Which has a deployment that looks somewhat like this:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: selenium-standalone-worker
  namespace: default
  labels:
    app: selenium-standalone-worker
spec:
  replicas: 1
  selector:
    matchLabels:
      app: selenium-standalone-worker
  template:
    metadata:
      labels:
        app: selenium-standalone-worker
    spec:
      volumes:
        - name: shmem
          emptyDir:
            medium: Memory
            # sizeLimit: 2Gi
      containers:
        - name: selenium-standalone-worker-container
          image: selenium/standalone-firefox:144.0-20251101
          imagePullPolicy: Always
          ports:
            - containerPort: 4444
          resources:
            requests:
              cpu: "500m"
              memory: "512Mi"
            limits:
              cpu: "1"
              memory: "1Gi"
          volumeMounts:
            - name: shmem
              mountPath: /dev/shm
          env:
            - name: SE_START_VNC
              value: "false"
          readinessProbe:
            exec:
              command:
                - sh
                - -c
                - 'curl -s http://localhost:4444/wd/hub/status | grep ''"ready": true'''
            initialDelaySeconds: 5
            periodSeconds: 10
          livenessProbe:
            httpGet:
              path: /wd/hub/status
              port: 4444
            initialDelaySeconds: 15

I would really like to use firefox specific functionality, when my remote webdriver connects to the grid firefox instance.

More specifically I would like to use the driver.get_full_page_screenshot_as_png() firefox functionality.

I suppose I would need to respectively configure the node and my client remote webdriver implementation, but to be honest I'm pretty unsure how to go about this.

1
  • It's really unclear what you are asking. What is stopping you from using Firefox specific functionality? Commented 14 hours ago

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.